#242D99#242D99

#242D99 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.1% C 0.173 H 271.0°. Best body text is #FFFFFF at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#242D99
RGBrgb(36, 45, 153)
HSLhsl(235, 62%, 37%)
HSVhsv(235, 76%, 60%)
CMYKcmyk(76.5%, 70.6%, 0%, 40%)
CIE-LABlab(25.42, 35.12, -59.62)
CIE-LCHlch(25.42, 69.20, 300.50°)
OKLaboklab(37.15% 0.003 -0.1726)
OKLCHoklch(37.15% 0.173 271)
XYZxyz(7.4138, 4.5510, 30.6185)
Luminance0.0455 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242D99 #999024
analogous
#246799 #242D99 #562499
triadic
#242D99 #99242D #2D9924
tetradic
#242D99 #992467 #999024 #249956
square
#242D99 #992467 #999024 #249956
split-complementary
#242D99 #995624 #679924
monochromatic
#0D1036 #181E67 #242D99 #303CCB #5E68D9

Accessibility & contrast

On white

10.99
#242D99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#242D99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242D99
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242D99#FFFFFF#000000##FFFFFF
##242D991.0010.991.9110.99
#FFFFFF10.991.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429C
Deuteranopia (green-blind)
#003797
Tritanopia (blue-blind)
#004B5F
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #242d99;
/* rgb */ color: rgb(36, 45, 153);
/* oklch */ color: oklch(37.1% 0.173 271.0);
Tailwind
colors: {
  custom: {
    50: '#7266b8',
    500: '#242d99',
    950: '#000000',
  },
}
SCSS
$custom: #242d99;
$custom-light: #7266b8;
$custom-dark: #000000;
JSON
{
  "hex": "#242d99",
  "rgb": {
    "r": 36,
    "g": 45,
    "b": 153
  },
  "hsl": {
    "h": 235.385,
    "s": 61.905,
    "l": 37.059
  },
  "oklch": {
    "l": 0.37146,
    "c": 0.17259,
    "h": 271
  },
  "luminance": 0.04552
}

Semantic roles & 50–950 ramp

primary
#242D99
secondary
#BEB65B
accent
#D943E5
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #242D99

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

Preview Lab → · Contrast checker → · Palette generator →

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