#242E4E#242E4E

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

Color values

HEX#242E4E
RGBrgb(36, 46, 78)
HSLhsl(226, 37%, 22%)
HSVhsv(226, 54%, 31%)
CMYKcmyk(53.8%, 41%, 0%, 69.4%)
CIE-LABlab(19.55, 6.15, -21.05)
CIE-LCHlch(19.55, 21.93, 286.29°)
OKLaboklab(30.87% -0.0005 -0.0594)
OKLCHoklch(30.87% 0.059 269.6)
XYZxyz(3.0793, 2.8789, 7.5997)
Luminance0.0288 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242E4E #4E4424
analogous
#24434E #242E4E #2F244E
triadic
#242E4E #4E242E #2E4E24
tetradic
#242E4E #4E2443 #4E4424 #244E2F
square
#242E4E #4E2443 #4E4424 #244E2F
split-complementary
#242E4E #4E2F24 #434E24
monochromatic
#0A0C15 #111524 #242E4E #374778 #4B5FA2

Accessibility & contrast

On white

13.33
#242E4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #242E4E
13.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242E4E#FFFFFF#000000##FFFFFF
##242E4E1.0013.331.5813.33
#FFFFFF13.331.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22314F
Deuteranopia (green-blind)
#1D2E4D
Tritanopia (blue-blind)
#13353A
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #242e4e;
/* rgb */ color: rgb(36, 46, 78);
/* oklch */ color: oklch(30.9% 0.059 269.6);
Tailwind
colors: {
  custom: {
    50: '#626680',
    500: '#242e4e',
    950: '#000000',
  },
}
SCSS
$custom: #242e4e;
$custom-light: #626680;
$custom-dark: #000000;
JSON
{
  "hex": "#242e4e",
  "rgb": {
    "r": 36,
    "g": 46,
    "b": 78
  },
  "hsl": {
    "h": 225.714,
    "s": 36.842,
    "l": 22.353
  },
  "oklch": {
    "l": 0.30866,
    "c": 0.0594,
    "h": 269.6
  },
  "luminance": 0.02879
}

Semantic roles & 50–950 ramp

primary
#242E4E
secondary
#81754C
accent
#B25BCD
background
#F5F6F7
surface
#EAEBEE
border
#C6C6C9
text
#05050A
muted
#797A7C

Preview Lab

Preview with #242E4E

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

Preview Lab → · Contrast checker → · Palette generator →

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