#242F4E#242F4E

#242F4E is a dark, muted blue. Relative luminance 0.030; OKLCH L 31.1% C 0.058 H 268.1°. Best body text is #FFFFFF at 13.19:1 contrast (WCAG AA passes).

Color values

HEX#242F4E
RGBrgb(36, 47, 78)
HSLhsl(224, 37%, 22%)
HSVhsv(224, 54%, 31%)
CMYKcmyk(53.8%, 39.7%, 0%, 69.4%)
CIE-LABlab(19.87, 5.44, -20.54)
CIE-LCHlch(19.87, 21.25, 284.83°)
OKLaboklab(31.12% -0.0019 -0.0579)
OKLCHoklch(31.12% 0.058 268.1)
XYZxyz(3.1188, 2.9580, 7.6129)
Luminance0.0296 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242F4E #4E4324
analogous
#24444E #242F4E #2E244E
triadic
#242F4E #4E242F #2F4E24
tetradic
#242F4E #4E2444 #4E4324 #244E2E
square
#242F4E #4E2444 #4E4324 #244E2E
split-complementary
#242F4E #4E2E24 #444E24
monochromatic
#0A0D15 #111624 #242F4E #374878 #4B61A2

Accessibility & contrast

On white

13.19
#242F4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#242F4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242F4E
13.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242F4E#FFFFFF#000000##FFFFFF
##242F4E1.0013.191.5913.19
#FFFFFF13.191.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23324F
Deuteranopia (green-blind)
#1F2E4D
Tritanopia (blue-blind)
#13363A
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #242f4e;
/* rgb */ color: rgb(36, 47, 78);
/* oklch */ color: oklch(31.1% 0.058 268.1);
Tailwind
colors: {
  custom: {
    50: '#62677f',
    500: '#242f4e',
    950: '#000000',
  },
}
SCSS
$custom: #242f4e;
$custom-light: #62677f;
$custom-dark: #000000;
JSON
{
  "hex": "#242f4e",
  "rgb": {
    "r": 36,
    "g": 47,
    "b": 78
  },
  "hsl": {
    "h": 224.286,
    "s": 36.842,
    "l": 22.353
  },
  "oklch": {
    "l": 0.31115,
    "c": 0.05794,
    "h": 268.1
  },
  "luminance": 0.02958
}

Semantic roles & 50–950 ramp

primary
#242F4E
secondary
#81744C
accent
#AF5BCD
background
#F5F6F7
surface
#EAEBEE
border
#C6C6C9
text
#05060A
muted
#797A7C

Preview Lab

Preview with #242F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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