#242B8D#242B8D

#242B8D is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.6% C 0.159 H 272.0°. Best body text is #FFFFFF at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#242B8D
RGBrgb(36, 43, 141)
HSLhsl(236, 59%, 35%)
HSVhsv(236, 74%, 55%)
CMYKcmyk(74.5%, 69.5%, 0%, 44.7%)
CIE-LABlab(23.75, 32.03, -54.95)
CIE-LCHlch(23.75, 63.61, 300.24°)
OKLaboklab(35.58% 0.0056 -0.1589)
OKLCHoklch(35.58% 0.159 272)
XYZxyz(6.3975, 4.0253, 25.6339)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242B8D #8D8624
analogous
#24608D #242B8D #52248D
triadic
#242B8D #8D242B #2B8D24
tetradic
#242B8D #8D2460 #8D8624 #248D52
square
#242B8D #8D2460 #8D8624 #248D52
split-complementary
#242B8D #8D5224 #608D24
monochromatic
#0B0D2B #181C5C #242B8D #303ABE #5760D4

Accessibility & contrast

On white

11.63
#242B8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#242B8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242B8D
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242B8D#FFFFFF#000000##FFFFFF
##242B8D1.0011.631.8111.63
#FFFFFF11.631.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.631.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: #242b8d;
/* rgb */ color: rgb(36, 43, 141);
/* oklch */ color: oklch(35.6% 0.159 272.0);
Tailwind
colors: {
  custom: {
    50: '#7065af',
    500: '#242b8d',
    950: '#000000',
  },
}
SCSS
$custom: #242b8d;
$custom-light: #7065af;
$custom-dark: #000000;
JSON
{
  "hex": "#242b8d",
  "rgb": {
    "r": 36,
    "g": 43,
    "b": 141
  },
  "hsl": {
    "h": 236,
    "s": 59.322,
    "l": 34.706
  },
  "oklch": {
    "l": 0.35584,
    "c": 0.15901,
    "h": 272
  },
  "luminance": 0.04026
}

Semantic roles & 50–950 ramp

primary
#242B8D
secondary
#B8B254
accent
#D845E3
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090510
muted
#7B7A7F

Preview Lab

Preview with #242B8D

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

Preview Lab → · Contrast checker → · Palette generator →

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