#242EAE#242EAE

#242EAE is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.5% C 0.198 H 269.9°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#242EAE
RGBrgb(36, 46, 174)
HSLhsl(236, 66%, 41%)
HSVhsv(236, 79%, 68%)
CMYKcmyk(79.3%, 73.6%, 0%, 31.8%)
CIE-LABlab(27.80, 41.95, -68.41)
CIE-LCHlch(27.80, 80.25, 301.51°)
OKLaboklab(39.51% -0.0002 -0.1981)
OKLCHoklch(39.51% 0.198 269.9)
XYZxyz(9.3419, 5.3840, 40.5831)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242EAE #AEA424
analogous
#2473AE #242EAE #5F24AE
triadic
#242EAE #AE242E #2EAE24
tetradic
#242EAE #AE2473 #AEA424 #24AE5F
square
#242EAE #AE2473 #AEA424 #24AE5F
split-complementary
#242EAE #AE5F24 #73AE24
monochromatic
#0F1349 #1A217B #242EAE #3945D6 #6C74E1

Accessibility & contrast

On white

10.11
#242EAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#242EAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242EAE
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242EAE#FFFFFF#000000##FFFFFF
##242EAE1.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B2
Deuteranopia (green-blind)
#003BAC
Tritanopia (blue-blind)
#00536B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #242eae;
/* rgb */ color: rgb(36, 46, 174);
/* oklch */ color: oklch(39.5% 0.198 269.9);
Tailwind
colors: {
  custom: {
    50: '#7868c7',
    500: '#242eae',
    950: '#000000',
  },
}
SCSS
$custom: #242eae;
$custom-light: #7868c7;
$custom-dark: #000000;
JSON
{
  "hex": "#242eae",
  "rgb": {
    "r": 36,
    "g": 46,
    "b": 174
  },
  "hsl": {
    "h": 235.652,
    "s": 65.714,
    "l": 41.176
  },
  "oklch": {
    "l": 0.39508,
    "c": 0.19815,
    "h": 269.9
  },
  "luminance": 0.05385
}

Semantic roles & 50–950 ramp

primary
#242EAE
secondary
#C7C067
accent
#DC3FE9
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #242EAE

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

Preview Lab → · Contrast checker → · Palette generator →

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