#242D9B#242D9B

#242D9B is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.4% C 0.175 H 270.9°. Best body text is #FFFFFF at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#242D9B
RGBrgb(36, 45, 155)
HSLhsl(235, 62%, 37%)
HSVhsv(235, 77%, 61%)
CMYKcmyk(76.8%, 71%, 0%, 39.2%)
CIE-LABlab(25.62, 35.84, -60.52)
CIE-LCHlch(25.62, 70.33, 300.64°)
OKLaboklab(37.35% 0.0028 -0.1752)
OKLCHoklch(37.35% 0.175 270.9)
XYZxyz(7.5803, 4.6176, 31.4958)
Luminance0.0462 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242D9B #9B9224
analogous
#24699B #242D9B #56249B
triadic
#242D9B #9B242D #2D9B24
tetradic
#242D9B #9B2469 #9B9224 #249B56
square
#242D9B #9B2469 #9B9224 #249B56
split-complementary
#242D9B #9B5624 #699B24
monochromatic
#0D1038 #181F69 #242D9B #303BCD #5F69DA

Accessibility & contrast

On white

10.92
#242D9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #242D9B
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242D9B#FFFFFF#000000##FFFFFF
##242D9B1.0010.921.9210.92
#FFFFFF10.921.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429E
Deuteranopia (green-blind)
#003799
Tritanopia (blue-blind)
#004C60
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #242d9b;
/* rgb */ color: rgb(36, 45, 155);
/* oklch */ color: oklch(37.4% 0.175 270.9);
Tailwind
colors: {
  custom: {
    50: '#7366ba',
    500: '#242d9b',
    950: '#000000',
  },
}
SCSS
$custom: #242d9b;
$custom-light: #7366ba;
$custom-dark: #000000;
JSON
{
  "hex": "#242d9b",
  "rgb": {
    "r": 36,
    "g": 45,
    "b": 155
  },
  "hsl": {
    "h": 235.462,
    "s": 62.304,
    "l": 37.451
  },
  "oklch": {
    "l": 0.37351,
    "c": 0.17518,
    "h": 270.9
  },
  "luminance": 0.04618
}

Semantic roles & 50–950 ramp

primary
#242D9B
secondary
#BFB75C
accent
#D942E5
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #242D9B

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

Preview Lab → · Contrast checker → · Palette generator →

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