#242EA9#242EA9

#242EA9 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 39.0% C 0.192 H 270.1°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#242EA9
RGBrgb(36, 46, 169)
HSLhsl(235, 65%, 40%)
HSVhsv(235, 79%, 66%)
CMYKcmyk(78.7%, 72.8%, 0%, 33.7%)
CIE-LABlab(27.28, 40.20, -66.28)
CIE-LCHlch(27.28, 77.51, 301.24°)
OKLaboklab(38.98% 0.0005 -0.1919)
OKLCHoklch(38.98% 0.192 270.1)
XYZxyz(8.8635, 5.1926, 38.0636)
Luminance0.0519 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242EA9 #A99F24
analogous
#2470A9 #242EA9 #5D24A9
triadic
#242EA9 #A9242E #2EA924
tetradic
#242EA9 #A92470 #A99F24 #24A95D
square
#242EA9 #A92470 #A99F24 #24A95D
split-complementary
#242EA9 #A95D24 #70A924
monochromatic
#0F1344 #192077 #242EA9 #3642D4 #6871DF

Accessibility & contrast

On white

10.30
#242EA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#242EA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242EA9
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242EA9#FFFFFF#000000##FFFFFF
##242EA91.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AD
Deuteranopia (green-blind)
#003AA7
Tritanopia (blue-blind)
#005168
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #242ea9;
/* rgb */ color: rgb(36, 46, 169);
/* oklch */ color: oklch(39.0% 0.192 270.1);
Tailwind
colors: {
  custom: {
    50: '#7668c4',
    500: '#242ea9',
    950: '#000000',
  },
}
SCSS
$custom: #242ea9;
$custom-light: #7668c4;
$custom-dark: #000000;
JSON
{
  "hex": "#242ea9",
  "rgb": {
    "r": 36,
    "g": 46,
    "b": 169
  },
  "hsl": {
    "h": 235.489,
    "s": 64.878,
    "l": 40.196
  },
  "oklch": {
    "l": 0.38976,
    "c": 0.19194,
    "h": 270.1
  },
  "luminance": 0.05194
}

Semantic roles & 50–950 ramp

primary
#242EA9
secondary
#C5BE64
accent
#DB40E8
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0613
muted
#7C7A82

Preview Lab

Preview with #242EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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