#242F96#242F96

#242F96 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.2% C 0.166 H 270.8°. Best body text is #FFFFFF at 10.93:1 contrast (WCAG AA passes).

Color values

HEX#242F96
RGBrgb(36, 47, 150)
HSLhsl(234, 61%, 36%)
HSVhsv(234, 76%, 59%)
CMYKcmyk(76%, 68.7%, 0%, 41.2%)
CIE-LABlab(25.59, 32.75, -57.49)
CIE-LCHlch(25.59, 66.17, 299.67°)
OKLaboklab(37.18% 0.0022 -0.1663)
OKLCHoklch(37.18% 0.166 270.8)
XYZxyz(7.2472, 4.6093, 29.3560)
Luminance0.0461 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242F96 #968B24
analogous
#246896 #242F96 #522496
triadic
#242F96 #96242F #2F9624
tetradic
#242F96 #962468 #968B24 #249652
square
#242F96 #962468 #968B24 #249652
split-complementary
#242F96 #965224 #689624
monochromatic
#0C1033 #182065 #242F96 #303EC7 #5C68D8

Accessibility & contrast

On white

10.93
#242F96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#242F96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242F96
10.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242F96#FFFFFF#000000##FFFFFF
##242F961.0010.931.9210.93
#FFFFFF10.931.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004299
Deuteranopia (green-blind)
#003794
Tritanopia (blue-blind)
#004B5E
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #242f96;
/* rgb */ color: rgb(36, 47, 150);
/* oklch */ color: oklch(37.2% 0.166 270.8);
Tailwind
colors: {
  custom: {
    50: '#7168b6',
    500: '#242f96',
    950: '#000000',
  },
}
SCSS
$custom: #242f96;
$custom-light: #7168b6;
$custom-dark: #000000;
JSON
{
  "hex": "#242f96",
  "rgb": {
    "r": 36,
    "g": 47,
    "b": 150
  },
  "hsl": {
    "h": 234.211,
    "s": 61.29,
    "l": 36.471
  },
  "oklch": {
    "l": 0.37184,
    "c": 0.16634,
    "h": 270.8
  },
  "luminance": 0.0461
}

Semantic roles & 50–950 ramp

primary
#242F96
secondary
#BDB359
accent
#D543E4
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #242F96

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

Preview Lab → · Contrast checker → · Palette generator →

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