#242B9B#242B9B

#242B9B is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.0% C 0.177 H 271.2°. Best body text is #FFFFFF at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#242B9B
RGBrgb(36, 43, 155)
HSLhsl(236, 62%, 37%)
HSVhsv(236, 77%, 61%)
CMYKcmyk(76.8%, 72.3%, 0%, 39.2%)
CIE-LABlab(25.16, 37.08, -61.26)
CIE-LCHlch(25.16, 71.61, 301.19°)
OKLaboklab(37.03% 0.0038 -0.1773)
OKLCHoklch(37.03% 0.177 271.2)
XYZxyz(7.5058, 4.4686, 31.4709)
Luminance0.0447 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242B9B #9B9424
analogous
#24669B #242B9B #59249B
triadic
#242B9B #9B242B #2B9B24
tetradic
#242B9B #9B2466 #9B9424 #249B59
square
#242B9B #9B2466 #9B9424 #249B59
split-complementary
#242B9B #9B5924 #669B24
monochromatic
#0D0F38 #181D69 #242B9B #3039CD #5F67DA

Accessibility & contrast

On white

11.09
#242B9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #242B9B
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242B9B#FFFFFF#000000##FFFFFF
##242B9B1.0011.091.8911.09
#FFFFFF11.091.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419E
Deuteranopia (green-blind)
#003699
Tritanopia (blue-blind)
#004B60
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #242b9b;
/* rgb */ color: rgb(36, 43, 155);
/* oklch */ color: oklch(37.0% 0.177 271.2);
Tailwind
colors: {
  custom: {
    50: '#7365ba',
    500: '#242b9b',
    950: '#000000',
  },
}
SCSS
$custom: #242b9b;
$custom-light: #7365ba;
$custom-dark: #000000;
JSON
{
  "hex": "#242b9b",
  "rgb": {
    "r": 36,
    "g": 43,
    "b": 155
  },
  "hsl": {
    "h": 236.471,
    "s": 62.304,
    "l": 37.451
  },
  "oklch": {
    "l": 0.37026,
    "c": 0.17737,
    "h": 271.2
  },
  "luminance": 0.04469
}

Semantic roles & 50–950 ramp

primary
#242B9B
secondary
#BFB95C
accent
#DC42E5
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #242B9B

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

Preview Lab → · Contrast checker → · Palette generator →

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