#242CAE#242CAE

#242CAE is a dark, highly saturated blue. Relative luminance 0.052; OKLCH L 39.2% C 0.200 H 270.2°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#242CAE
RGBrgb(36, 44, 174)
HSLhsl(237, 66%, 41%)
HSVhsv(237, 79%, 68%)
CMYKcmyk(79.3%, 74.7%, 0%, 31.8%)
CIE-LABlab(27.38, 43.12, -69.10)
CIE-LCHlch(27.38, 81.45, 301.96°)
OKLaboklab(39.21% 0.0006 -0.2001)
OKLCHoklch(39.21% 0.2 270.2)
XYZxyz(9.2656, 5.2314, 40.5576)
Luminance0.0523 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242CAE #AEA624
analogous
#2471AE #242CAE #6124AE
triadic
#242CAE #AE242C #2CAE24
tetradic
#242CAE #AE2471 #AEA624 #24AE61
square
#242CAE #AE2471 #AEA624 #24AE61
split-complementary
#242CAE #AE6124 #71AE24
monochromatic
#0F1249 #1A1F7B #242CAE #3942D6 #6C73E1

Accessibility & contrast

On white

10.26
#242CAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#242CAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242CAE
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242CAE#FFFFFF#000000##FFFFFF
##242CAE1.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B2
Deuteranopia (green-blind)
#003AAC
Tritanopia (blue-blind)
#00526B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #242cae;
/* rgb */ color: rgb(36, 44, 174);
/* oklch */ color: oklch(39.2% 0.200 270.2);
Tailwind
colors: {
  custom: {
    50: '#7867c7',
    500: '#242cae',
    950: '#000000',
  },
}
SCSS
$custom: #242cae;
$custom-light: #7867c7;
$custom-dark: #000000;
JSON
{
  "hex": "#242cae",
  "rgb": {
    "r": 36,
    "g": 44,
    "b": 174
  },
  "hsl": {
    "h": 236.522,
    "s": 65.714,
    "l": 41.176
  },
  "oklch": {
    "l": 0.3921,
    "c": 0.20015,
    "h": 270.2
  },
  "luminance": 0.05232
}

Semantic roles & 50–950 ramp

primary
#242CAE
secondary
#C7C167
accent
#DF3FE9
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #242CAE

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

Preview Lab → · Contrast checker → · Palette generator →

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