#242F92#242F92

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

Color values

HEX#242F92
RGBrgb(36, 47, 146)
HSLhsl(234, 60%, 36%)
HSVhsv(234, 75%, 57%)
CMYKcmyk(75.3%, 67.8%, 0%, 42.7%)
CIE-LABlab(25.21, 31.27, -55.66)
CIE-LCHlch(25.21, 63.85, 299.33°)
OKLaboklab(36.79% 0.0026 -0.161)
OKLCHoklch(36.79% 0.161 270.9)
XYZxyz(6.9306, 4.4827, 27.6885)
Luminance0.0448 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242F92 #928724
analogous
#246692 #242F92 #502492
triadic
#242F92 #92242F #2F9224
tetradic
#242F92 #922466 #928724 #249250
square
#242F92 #922466 #928724 #249250
split-complementary
#242F92 #925024 #669224
monochromatic
#0C0F30 #181F61 #242F92 #303FC3 #5A66D6

Accessibility & contrast

On white

11.07
#242F92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#242F92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242F92
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242F92#FFFFFF#000000##FFFFFF
##242F921.0011.071.9011.07
#FFFFFF11.071.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004195
Deuteranopia (green-blind)
#003790
Tritanopia (blue-blind)
#00495C
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #242f92;
/* rgb */ color: rgb(36, 47, 146);
/* oklch */ color: oklch(36.8% 0.161 270.9);
Tailwind
colors: {
  custom: {
    50: '#7067b3',
    500: '#242f92',
    950: '#000000',
  },
}
SCSS
$custom: #242f92;
$custom-light: #7067b3;
$custom-dark: #000000;
JSON
{
  "hex": "#242f92",
  "rgb": {
    "r": 36,
    "g": 47,
    "b": 146
  },
  "hsl": {
    "h": 234,
    "s": 60.44,
    "l": 35.686
  },
  "oklch": {
    "l": 0.36787,
    "c": 0.161,
    "h": 270.9
  },
  "luminance": 0.04483
}

Semantic roles & 50–950 ramp

primary
#242F92
secondary
#BBB157
accent
#D444E4
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #242F92

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

Preview Lab → · Contrast checker → · Palette generator →

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