#242D4E#242D4E

#242D4E is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.6% C 0.061 H 270.9°. Best body text is #FFFFFF at 13.46:1 contrast (WCAG AA passes).

Color values

HEX#242D4E
RGBrgb(36, 45, 78)
HSLhsl(227, 37%, 22%)
HSVhsv(227, 54%, 31%)
CMYKcmyk(53.8%, 42.3%, 0%, 69.4%)
CIE-LABlab(19.23, 6.86, -21.56)
CIE-LCHlch(19.23, 22.62, 287.66°)
OKLaboklab(30.62% 0.001 -0.0609)
OKLCHoklch(30.62% 0.061 270.9)
XYZxyz(3.0406, 2.8017, 7.5868)
Luminance0.0280 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242D4E #4E4524
analogous
#24424E #242D4E #30244E
triadic
#242D4E #4E242D #2D4E24
tetradic
#242D4E #4E2442 #4E4524 #244E30
square
#242D4E #4E2442 #4E4524 #244E30
split-complementary
#242D4E #4E3024 #424E24
monochromatic
#0A0C15 #111524 #242D4E #374578 #4B5DA2

Accessibility & contrast

On white

13.46
#242D4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#242D4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242D4E
13.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242D4E#FFFFFF#000000##FFFFFF
##242D4E1.0013.461.5613.46
#FFFFFF13.461.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20314F
Deuteranopia (green-blind)
#1C2D4D
Tritanopia (blue-blind)
#133439
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #242d4e;
/* rgb */ color: rgb(36, 45, 78);
/* oklch */ color: oklch(30.6% 0.061 270.9);
Tailwind
colors: {
  custom: {
    50: '#626580',
    500: '#242d4e',
    950: '#000000',
  },
}
SCSS
$custom: #242d4e;
$custom-light: #626580;
$custom-dark: #000000;
JSON
{
  "hex": "#242d4e",
  "rgb": {
    "r": 36,
    "g": 45,
    "b": 78
  },
  "hsl": {
    "h": 227.143,
    "s": 36.842,
    "l": 22.353
  },
  "oklch": {
    "l": 0.30619,
    "c": 0.06089,
    "h": 270.9
  },
  "luminance": 0.02802
}

Semantic roles & 50–950 ramp

primary
#242D4E
secondary
#81764C
accent
#B45BCD
background
#F5F6F7
surface
#EAEBEE
border
#C6C6C9
text
#05050A
muted
#797A7C

Preview Lab

Preview with #242D4E

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

Preview Lab → · Contrast checker → · Palette generator →

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