#242AA9#242AA9

#242AA9 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.4% C 0.196 H 270.6°. Best body text is #FFFFFF at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#242AA9
RGBrgb(36, 42, 169)
HSLhsl(237, 65%, 40%)
HSVhsv(237, 79%, 66%)
CMYKcmyk(78.7%, 75.1%, 0%, 33.7%)
CIE-LABlab(26.43, 42.56, -67.67)
CIE-LCHlch(26.43, 79.94, 302.17°)
OKLaboklab(38.37% 0.0021 -0.196)
OKLCHoklch(38.37% 0.196 270.6)
XYZxyz(8.7145, 4.8946, 38.0139)
Luminance0.0490 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242AA9 #A9A324
analogous
#246DA9 #242AA9 #6024A9
triadic
#242AA9 #A9242A #2AA924
tetradic
#242AA9 #A9246D #A9A324 #24A960
square
#242AA9 #A9246D #A9A324 #24A960
split-complementary
#242AA9 #A96024 #6DA924
monochromatic
#0F1144 #191D77 #242AA9 #363DD4 #686EDF

Accessibility & contrast

On white

10.61
#242AA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#242AA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242AA9
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242AA9#FFFFFF#000000##FFFFFF
##242AA91.0010.611.9810.61
#FFFFFF10.611.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045AD
Deuteranopia (green-blind)
#0038A7
Tritanopia (blue-blind)
#004F67
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #242aa9;
/* rgb */ color: rgb(36, 42, 169);
/* oklch */ color: oklch(38.4% 0.196 270.6);
Tailwind
colors: {
  custom: {
    50: '#7765c4',
    500: '#242aa9',
    950: '#000000',
  },
}
SCSS
$custom: #242aa9;
$custom-light: #7765c4;
$custom-dark: #000000;
JSON
{
  "hex": "#242aa9",
  "rgb": {
    "r": 36,
    "g": 42,
    "b": 169
  },
  "hsl": {
    "h": 237.293,
    "s": 64.878,
    "l": 40.196
  },
  "oklch": {
    "l": 0.38373,
    "c": 0.19598,
    "h": 270.6
  },
  "luminance": 0.04896
}

Semantic roles & 50–950 ramp

primary
#242AA9
secondary
#C5C064
accent
#E040E8
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0613
muted
#7C7A82

Preview Lab

Preview with #242AA9

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

Preview Lab → · Contrast checker → · Palette generator →

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