#242C85#242C85

#242C85 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.0% C 0.147 H 272.2°. Best body text is #FFFFFF at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#242C85
RGBrgb(36, 44, 133)
HSLhsl(235, 57%, 33%)
HSVhsv(235, 73%, 52%)
CMYKcmyk(72.9%, 66.9%, 0%, 47.8%)
CIE-LABlab(23.23, 28.42, -50.81)
CIE-LCHlch(23.23, 58.22, 299.21°)
OKLaboklab(34.97% 0.0056 -0.1468)
OKLCHoklch(34.97% 0.147 272.2)
XYZxyz(5.8604, 3.8693, 22.6238)
Luminance0.0387 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242C85 #857D24
analogous
#245C85 #242C85 #4D2485
triadic
#242C85 #85242C #2C8524
tetradic
#242C85 #85245C #857D24 #24854D
square
#242C85 #85245C #857D24 #24854D
split-complementary
#242C85 #854D24 #5C8524
monochromatic
#0A0C25 #171C55 #242C85 #313CB5 #535DD0

Accessibility & contrast

On white

11.84
#242C85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#242C85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242C85
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242C85#FFFFFF#000000##FFFFFF
##242C851.0011.841.7711.84
#FFFFFF11.841.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C88
Deuteranopia (green-blind)
#003383
Tritanopia (blue-blind)
#004354
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #242c85;
/* rgb */ color: rgb(36, 44, 133);
/* oklch */ color: oklch(35.0% 0.147 272.2);
Tailwind
colors: {
  custom: {
    50: '#6e65a9',
    500: '#242c85',
    950: '#000000',
  },
}
SCSS
$custom: #242c85;
$custom-light: #6e65a9;
$custom-dark: #000000;
JSON
{
  "hex": "#242c85",
  "rgb": {
    "r": 36,
    "g": 44,
    "b": 133
  },
  "hsl": {
    "h": 235.052,
    "s": 57.396,
    "l": 33.137
  },
  "oklch": {
    "l": 0.34971,
    "c": 0.14691,
    "h": 272.2
  },
  "luminance": 0.0387
}

Semantic roles & 50–950 ramp

primary
#242C85
secondary
#B4AC50
accent
#D447E1
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080510
muted
#7B7A7F

Preview Lab

Preview with #242C85

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

Preview Lab → · Contrast checker → · Palette generator →

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