#242E8E#242E8E

#242E8E is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.2% C 0.157 H 271.3°. Best body text is #FFFFFF at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#242E8E
RGBrgb(36, 46, 142)
HSLhsl(234, 60%, 35%)
HSVhsv(234, 75%, 56%)
CMYKcmyk(74.6%, 67.6%, 0%, 44.3%)
CIE-LABlab(24.58, 30.44, -54.22)
CIE-LCHlch(24.58, 62.18, 299.32°)
OKLaboklab(36.21% 0.0035 -0.1567)
OKLCHoklch(36.21% 0.157 271.3)
XYZxyz(6.5854, 4.2814, 26.0653)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242E8E #8E8424
analogous
#24638E #242E8E #4F248E
triadic
#242E8E #8E242E #2E8E24
tetradic
#242E8E #8E2463 #8E8424 #248E4F
square
#242E8E #8E2463 #8E8424 #248E4F
split-complementary
#242E8E #8E4F24 #638E24
monochromatic
#0B0E2C #181E5D #242E8E #303EBF #5864D5

Accessibility & contrast

On white

11.31
#242E8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#242E8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242E8E
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242E8E#FFFFFF#000000##FFFFFF
##242E8E1.0011.311.8611.31
#FFFFFF11.311.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F91
Deuteranopia (green-blind)
#00358C
Tritanopia (blue-blind)
#00485A
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #242e8e;
/* rgb */ color: rgb(36, 46, 142);
/* oklch */ color: oklch(36.2% 0.157 271.3);
Tailwind
colors: {
  custom: {
    50: '#7067b0',
    500: '#242e8e',
    950: '#000000',
  },
}
SCSS
$custom: #242e8e;
$custom-light: #7067b0;
$custom-dark: #000000;
JSON
{
  "hex": "#242e8e",
  "rgb": {
    "r": 36,
    "g": 46,
    "b": 142
  },
  "hsl": {
    "h": 234.34,
    "s": 59.551,
    "l": 34.902
  },
  "oklch": {
    "l": 0.36214,
    "c": 0.15679,
    "h": 271.3
  },
  "luminance": 0.04282
}

Semantic roles & 50–950 ramp

primary
#242E8E
secondary
#B9B055
accent
#D445E3
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090611
muted
#7B7A80

Preview Lab

Preview with #242E8E

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

Preview Lab → · Contrast checker → · Palette generator →

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