#242D96#242D96

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

Color values

HEX#242D96
RGBrgb(36, 45, 150)
HSLhsl(235, 61%, 36%)
HSVhsv(235, 76%, 59%)
CMYKcmyk(76%, 70%, 0%, 41.2%)
CIE-LABlab(25.12, 34.03, -58.28)
CIE-LCHlch(25.12, 67.49, 300.28°)
OKLaboklab(36.84% 0.0034 -0.1686)
OKLCHoklch(36.84% 0.169 271.1)
XYZxyz(7.1691, 4.4531, 29.3300)
Luminance0.0445 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242D96 #968D24
analogous
#246696 #242D96 #542496
triadic
#242D96 #96242D #2D9624
tetradic
#242D96 #962466 #968D24 #249654
square
#242D96 #962466 #968D24 #249654
split-complementary
#242D96 #965424 #669624
monochromatic
#0C0F33 #181E65 #242D96 #303CC7 #5C66D8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##242D96#FFFFFF#000000##FFFFFF
##242D961.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)
#004199
Deuteranopia (green-blind)
#003694
Tritanopia (blue-blind)
#004A5E
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #242d96;
/* rgb */ color: rgb(36, 45, 150);
/* oklch */ color: oklch(36.8% 0.169 271.1);
Tailwind
colors: {
  custom: {
    50: '#7266b6',
    500: '#242d96',
    950: '#000000',
  },
}
SCSS
$custom: #242d96;
$custom-light: #7266b6;
$custom-dark: #000000;
JSON
{
  "hex": "#242d96",
  "rgb": {
    "r": 36,
    "g": 45,
    "b": 150
  },
  "hsl": {
    "h": 235.263,
    "s": 61.29,
    "l": 36.471
  },
  "oklch": {
    "l": 0.36839,
    "c": 0.16865,
    "h": 271.1
  },
  "luminance": 0.04454
}

Semantic roles & 50–950 ramp

primary
#242D96
secondary
#BDB559
accent
#D843E4
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #242D96

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

Preview Lab → · Contrast checker → · Palette generator →

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