#242C8D#242C8D

#242C8D is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.8% C 0.158 H 271.8°. Best body text is #FFFFFF at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#242C8D
RGBrgb(36, 44, 141)
HSLhsl(235, 59%, 35%)
HSVhsv(235, 74%, 55%)
CMYKcmyk(74.5%, 68.8%, 0%, 44.7%)
CIE-LABlab(24.00, 31.38, -54.56)
CIE-LCHlch(24.00, 62.94, 299.91°)
OKLaboklab(35.76% 0.0049 -0.1577)
OKLCHoklch(35.76% 0.158 271.8)
XYZxyz(6.4343, 4.0989, 25.6462)
Luminance0.0410 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242C8D #8D8524
analogous
#24608D #242C8D #51248D
triadic
#242C8D #8D242C #2C8D24
tetradic
#242C8D #8D2460 #8D8524 #248D51
square
#242C8D #8D2460 #8D8524 #248D51
split-complementary
#242C8D #8D5124 #608D24
monochromatic
#0B0E2B #181D5C #242C8D #303BBE #5761D4

Accessibility & contrast

On white

11.54
#242C8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#242C8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242C8D
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242C8D#FFFFFF#000000##FFFFFF
##242C8D1.0011.541.8211.54
#FFFFFF11.541.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E90
Deuteranopia (green-blind)
#00348B
Tritanopia (blue-blind)
#004658
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #242c8d;
/* rgb */ color: rgb(36, 44, 141);
/* oklch */ color: oklch(35.8% 0.158 271.8);
Tailwind
colors: {
  custom: {
    50: '#7065af',
    500: '#242c8d',
    950: '#000000',
  },
}
SCSS
$custom: #242c8d;
$custom-light: #7065af;
$custom-dark: #000000;
JSON
{
  "hex": "#242c8d",
  "rgb": {
    "r": 36,
    "g": 44,
    "b": 141
  },
  "hsl": {
    "h": 235.429,
    "s": 59.322,
    "l": 34.706
  },
  "oklch": {
    "l": 0.35759,
    "c": 0.15783,
    "h": 271.8
  },
  "luminance": 0.041
}

Semantic roles & 50–950 ramp

primary
#242C8D
secondary
#B8B154
accent
#D745E3
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090510
muted
#7B7A7F

Preview Lab

Preview with #242C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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