#242F91#242F91

#242F91 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.7% C 0.160 H 270.9°. Best body text is #FFFFFF at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#242F91
RGBrgb(36, 47, 145)
HSLhsl(234, 60%, 35%)
HSVhsv(234, 75%, 57%)
CMYKcmyk(75.2%, 67.6%, 0%, 43.1%)
CIE-LABlab(25.11, 30.90, -55.20)
CIE-LCHlch(25.11, 63.26, 299.24°)
OKLaboklab(36.69% 0.0026 -0.1596)
OKLCHoklch(36.69% 0.16 270.9)
XYZxyz(6.8532, 4.4517, 27.2807)
Luminance0.0445 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242F91 #918624
analogous
#246591 #242F91 #4F2491
triadic
#242F91 #91242F #2F9124
tetradic
#242F91 #912465 #918624 #24914F
square
#242F91 #912465 #918624 #24914F
split-complementary
#242F91 #914F24 #659124
monochromatic
#0C0F2F #181F60 #242F91 #303FC2 #5966D6

Accessibility & contrast

On white

11.11
#242F91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#242F91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242F91
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242F91#FFFFFF#000000##FFFFFF
##242F911.0011.111.8911.11
#FFFFFF11.111.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004194
Deuteranopia (green-blind)
#00368F
Tritanopia (blue-blind)
#00495B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #242f91;
/* rgb */ color: rgb(36, 47, 145);
/* oklch */ color: oklch(36.7% 0.160 270.9);
Tailwind
colors: {
  custom: {
    50: '#7067b2',
    500: '#242f91',
    950: '#000000',
  },
}
SCSS
$custom: #242f91;
$custom-light: #7067b2;
$custom-dark: #000000;
JSON
{
  "hex": "#242f91",
  "rgb": {
    "r": 36,
    "g": 47,
    "b": 145
  },
  "hsl": {
    "h": 233.945,
    "s": 60.221,
    "l": 35.49
  },
  "oklch": {
    "l": 0.36688,
    "c": 0.15965,
    "h": 270.9
  },
  "luminance": 0.04452
}

Semantic roles & 50–950 ramp

primary
#242F91
secondary
#BAB056
accent
#D344E3
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #242F91

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

Preview Lab → · Contrast checker → · Palette generator →

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