#242F4A#242F4A

#242F4A is a dark, muted blue. Relative luminance 0.029; OKLCH L 30.9% C 0.051 H 266.6°. Best body text is #FFFFFF at 13.29:1 contrast (WCAG AA passes).

Color values

HEX#242F4A
RGBrgb(36, 47, 74)
HSLhsl(223, 35%, 22%)
HSVhsv(223, 51%, 29%)
CMYKcmyk(51.4%, 36.5%, 0%, 71%)
CIE-LABlab(19.65, 4.00, -18.20)
CIE-LCHlch(19.65, 18.63, 282.40°)
OKLaboklab(30.87% -0.0031 -0.0511)
OKLCHoklch(30.87% 0.051 266.6)
XYZxyz(2.9797, 2.9023, 6.8804)
Luminance0.0290 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242F4A #4A3F24
analogous
#24424A #242F4A #2C244A
triadic
#242F4A #4A242F #2F4A24
tetradic
#242F4A #4A2442 #4A3F24 #244A2C
square
#242F4A #4A2442 #4A3F24 #244A2C
split-complementary
#242F4A #4A2C24 #424A24
monochromatic
#0A0D15 #101521 #242F4A #384973 #4C639C

Accessibility & contrast

On white

13.29
#242F4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#242F4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242F4A
13.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242F4A#FFFFFF#000000##FFFFFF
##242F4A1.0013.291.5813.29
#FFFFFF13.291.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25314B
Deuteranopia (green-blind)
#212E49
Tritanopia (blue-blind)
#153539
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #242f4a;
/* rgb */ color: rgb(36, 47, 74);
/* oklch */ color: oklch(30.9% 0.051 266.6);
Tailwind
colors: {
  custom: {
    50: '#61677c',
    500: '#242f4a',
    950: '#000000',
  },
}
SCSS
$custom: #242f4a;
$custom-light: #61677c;
$custom-dark: #000000;
JSON
{
  "hex": "#242f4a",
  "rgb": {
    "r": 36,
    "g": 47,
    "b": 74
  },
  "hsl": {
    "h": 222.632,
    "s": 34.545,
    "l": 21.569
  },
  "oklch": {
    "l": 0.30865,
    "c": 0.0512,
    "h": 266.6
  },
  "luminance": 0.02903
}

Semantic roles & 50–950 ramp

primary
#242F4A
secondary
#7D6F4D
accent
#AB5DCB
background
#F5F6F7
surface
#EAEBEE
border
#C6C6C9
text
#050609
muted
#797A7B

Preview Lab

Preview with #242F4A

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

Preview Lab → · Contrast checker → · Palette generator →

#242F4A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva