#242F8D#242F8D

#242F8D is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.3% C 0.154 H 271.1°. Best body text is #FFFFFF at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#242F8D
RGBrgb(36, 47, 141)
HSLhsl(234, 59%, 35%)
HSVhsv(234, 74%, 55%)
CMYKcmyk(74.5%, 66.7%, 0%, 44.7%)
CIE-LABlab(24.74, 29.41, -53.34)
CIE-LCHlch(24.74, 60.91, 298.87°)
OKLaboklab(36.3% 0.0029 -0.1542)
OKLCHoklch(36.3% 0.154 271.1)
XYZxyz(6.5502, 4.3305, 25.6848)
Luminance0.0433 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242F8D #8D8224
analogous
#24648D #242F8D #4D248D
triadic
#242F8D #8D242F #2F8D24
tetradic
#242F8D #8D2464 #8D8224 #248D4D
square
#242F8D #8D2464 #8D8224 #248D4D
split-complementary
#242F8D #8D4D24 #648D24
monochromatic
#0B0E2B #181F5C #242F8D #303FBE #5764D4

Accessibility & contrast

On white

11.25
#242F8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#242F8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242F8D
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242F8D#FFFFFF#000000##FFFFFF
##242F8D1.0011.251.8711.25
#FFFFFF11.251.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004090
Deuteranopia (green-blind)
#00368B
Tritanopia (blue-blind)
#004859
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #242f8d;
/* rgb */ color: rgb(36, 47, 141);
/* oklch */ color: oklch(36.3% 0.154 271.1);
Tailwind
colors: {
  custom: {
    50: '#6f67af',
    500: '#242f8d',
    950: '#000000',
  },
}
SCSS
$custom: #242f8d;
$custom-light: #6f67af;
$custom-dark: #000000;
JSON
{
  "hex": "#242f8d",
  "rgb": {
    "r": 36,
    "g": 47,
    "b": 141
  },
  "hsl": {
    "h": 233.714,
    "s": 59.322,
    "l": 34.706
  },
  "oklch": {
    "l": 0.36298,
    "c": 0.15422,
    "h": 271.1
  },
  "luminance": 0.04331
}

Semantic roles & 50–950 ramp

primary
#242F8D
secondary
#B8AE54
accent
#D245E3
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #242F8D

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

Preview Lab → · Contrast checker → · Palette generator →

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