#242974#242974

#242974 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.8% C 0.127 H 274.1°. Best body text is #FFFFFF at 12.77:1 contrast (WCAG AA passes).

Color values

HEX#242974
RGBrgb(36, 41, 116)
HSLhsl(236, 53%, 30%)
HSVhsv(236, 69%, 45%)
CMYKcmyk(69%, 64.7%, 0%, 54.5%)
CIE-LABlab(20.91, 24.06, -43.83)
CIE-LCHlch(20.91, 50.00, 298.76°)
OKLaboklab(32.79% 0.0091 -0.1264)
OKLCHoklch(32.79% 0.127 274.1)
XYZxyz(4.6718, 3.2215, 16.8952)
Luminance0.0322 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242974 #746F24
analogous
#245174 #242974 #472474
triadic
#242974 #742429 #297424
tetradic
#242974 #742451 #746F24 #247447
square
#242974 #742451 #746F24 #247447
split-complementary
#242974 #744724 #517424
monochromatic
#070817 #161845 #242974 #323AA3 #4B53C7

Accessibility & contrast

On white

12.77
#242974 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#242974 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242974
12.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242974#FFFFFF#000000##FFFFFF
##2429741.0012.771.6412.77
#FFFFFF12.771.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003676
Deuteranopia (green-blind)
#002F73
Tritanopia (blue-blind)
#003C4A
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #242974;
/* rgb */ color: rgb(36, 41, 116);
/* oklch */ color: oklch(32.8% 0.127 274.1);
Tailwind
colors: {
  custom: {
    50: '#6a629d',
    500: '#242974',
    950: '#000000',
  },
}
SCSS
$custom: #242974;
$custom-light: #6a629d;
$custom-dark: #000000;
JSON
{
  "hex": "#242974",
  "rgb": {
    "r": 36,
    "g": 41,
    "b": 116
  },
  "hsl": {
    "h": 236.25,
    "s": 52.632,
    "l": 29.804
  },
  "oklch": {
    "l": 0.32787,
    "c": 0.12669,
    "h": 274.1
  },
  "luminance": 0.03222
}

Semantic roles & 50–950 ramp

primary
#242974
secondary
#A7A14D
accent
#D34CDC
background
#F6F5F9
surface
#ECEAF2
border
#C7C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #242974

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#242974 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva