#242CAC#242CAC

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

Color values

HEX#242CAC
RGBrgb(36, 44, 172)
HSLhsl(236, 65%, 41%)
HSVhsv(236, 79%, 67%)
CMYKcmyk(79.1%, 74.4%, 0%, 32.5%)
CIE-LABlab(27.17, 42.43, -68.26)
CIE-LCHlch(27.17, 80.37, 301.87°)
OKLaboklab(38.99% 0.0009 -0.1977)
OKLCHoklch(38.99% 0.198 270.3)
XYZxyz(9.0721, 5.1540, 39.5384)
Luminance0.0515 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242CAC #ACA424
analogous
#2470AC #242CAC #6024AC
triadic
#242CAC #AC242C #2CAC24
tetradic
#242CAC #AC2470 #ACA424 #24AC60
square
#242CAC #AC2470 #ACA424 #24AC60
split-complementary
#242CAC #AC6024 #70AC24
monochromatic
#0F1247 #191F79 #242CAC #3841D5 #6A71E0

Accessibility & contrast

On white

10.34
#242CAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#242CAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242CAC
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242CAC#FFFFFF#000000##FFFFFF
##242CAC1.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B0
Deuteranopia (green-blind)
#0039AA
Tritanopia (blue-blind)
#00516A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #242cac;
/* rgb */ color: rgb(36, 44, 172);
/* oklch */ color: oklch(39.0% 0.198 270.3);
Tailwind
colors: {
  custom: {
    50: '#7766c6',
    500: '#242cac',
    950: '#000000',
  },
}
SCSS
$custom: #242cac;
$custom-light: #7766c6;
$custom-dark: #000000;
JSON
{
  "hex": "#242cac",
  "rgb": {
    "r": 36,
    "g": 44,
    "b": 172
  },
  "hsl": {
    "h": 236.471,
    "s": 65.385,
    "l": 40.784
  },
  "oklch": {
    "l": 0.38993,
    "c": 0.19769,
    "h": 270.3
  },
  "luminance": 0.05155
}

Semantic roles & 50–950 ramp

primary
#242CAC
secondary
#C6C066
accent
#DE3FE8
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #242CAC

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

Preview Lab → · Contrast checker → · Palette generator →

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