#242B84#242B84

#242B84 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.7% C 0.147 H 272.5°. Best body text is #FFFFFF at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#242B84
RGBrgb(36, 43, 132)
HSLhsl(236, 57%, 33%)
HSVhsv(236, 73%, 52%)
CMYKcmyk(72.7%, 67.4%, 0%, 48.2%)
CIE-LABlab(22.89, 28.71, -50.75)
CIE-LCHlch(22.89, 58.31, 299.50°)
OKLaboklab(34.69% 0.0064 -0.1466)
OKLCHoklch(34.69% 0.147 272.5)
XYZxyz(5.7549, 3.7682, 22.2494)
Luminance0.0377 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242B84 #847D24
analogous
#245B84 #242B84 #4D2484
triadic
#242B84 #84242B #2B8424
tetradic
#242B84 #84245B #847D24 #24844D
square
#242B84 #84245B #847D24 #24844D
split-complementary
#242B84 #844D24 #5B8424
monochromatic
#0A0C24 #171B54 #242B84 #313BB4 #525CD0

Accessibility & contrast

On white

11.97
#242B84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#242B84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242B84
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242B84#FFFFFF#000000##FFFFFF
##242B841.0011.971.7511.97
#FFFFFF11.971.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B87
Deuteranopia (green-blind)
#003282
Tritanopia (blue-blind)
#004253
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #242b84;
/* rgb */ color: rgb(36, 43, 132);
/* oklch */ color: oklch(34.7% 0.147 272.5);
Tailwind
colors: {
  custom: {
    50: '#6d64a9',
    500: '#242b84',
    950: '#000000',
  },
}
SCSS
$custom: #242b84;
$custom-light: #6d64a9;
$custom-dark: #000000;
JSON
{
  "hex": "#242b84",
  "rgb": {
    "r": 36,
    "g": 43,
    "b": 132
  },
  "hsl": {
    "h": 235.625,
    "s": 57.143,
    "l": 32.941
  },
  "oklch": {
    "l": 0.34691,
    "c": 0.14676,
    "h": 272.5
  },
  "luminance": 0.03769
}

Semantic roles & 50–950 ramp

primary
#242B84
secondary
#B4AD50
accent
#D547E0
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080510
muted
#7B7A7F

Preview Lab

Preview with #242B84

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

Preview Lab → · Contrast checker → · Palette generator →

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