#242B96#242B96

#242B96 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.5% C 0.171 H 271.5°. Best body text is #FFFFFF at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#242B96
RGBrgb(36, 43, 150)
HSLhsl(236, 61%, 36%)
HSVhsv(236, 76%, 59%)
CMYKcmyk(76%, 71.3%, 0%, 41.2%)
CIE-LABlab(24.65, 35.30, -59.04)
CIE-LCHlch(24.65, 68.79, 300.87°)
OKLaboklab(36.5% 0.0045 -0.1708)
OKLCHoklch(36.5% 0.171 271.5)
XYZxyz(7.0946, 4.3041, 29.3051)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242B96 #968F24
analogous
#246496 #242B96 #562496
triadic
#242B96 #96242B #2B9624
tetradic
#242B96 #962464 #968F24 #249656
square
#242B96 #962464 #968F24 #249656
split-complementary
#242B96 #965624 #649624
monochromatic
#0C0F33 #181D65 #242B96 #3039C7 #5C64D8

Accessibility & contrast

On white

11.28
#242B96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #242B96
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242B96#FFFFFF#000000##FFFFFF
##242B961.0011.281.8611.28
#FFFFFF11.281.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004099
Deuteranopia (green-blind)
#003594
Tritanopia (blue-blind)
#00495D
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #242b96;
/* rgb */ color: rgb(36, 43, 150);
/* oklch */ color: oklch(36.5% 0.171 271.5);
Tailwind
colors: {
  custom: {
    50: '#7265b6',
    500: '#242b96',
    950: '#000000',
  },
}
SCSS
$custom: #242b96;
$custom-light: #7265b6;
$custom-dark: #000000;
JSON
{
  "hex": "#242b96",
  "rgb": {
    "r": 36,
    "g": 43,
    "b": 150
  },
  "hsl": {
    "h": 236.316,
    "s": 61.29,
    "l": 36.471
  },
  "oklch": {
    "l": 0.36504,
    "c": 0.17091,
    "h": 271.5
  },
  "luminance": 0.04305
}

Semantic roles & 50–950 ramp

primary
#242B96
secondary
#BDB759
accent
#DB43E4
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #242B96

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

Preview Lab → · Contrast checker → · Palette generator →

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