#242B85#242B85

#242B85 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.8% C 0.148 H 272.4°. Best body text is #FFFFFF at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#242B85
RGBrgb(36, 43, 133)
HSLhsl(236, 57%, 33%)
HSVhsv(236, 73%, 52%)
CMYKcmyk(72.9%, 67.7%, 0%, 47.8%)
CIE-LABlab(22.98, 29.08, -51.22)
CIE-LCHlch(22.98, 58.90, 299.58°)
OKLaboklab(34.79% 0.0063 -0.148)
OKLCHoklch(34.79% 0.148 272.4)
XYZxyz(5.8236, 3.7957, 22.6115)
Luminance0.0380 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242B85 #857E24
analogous
#245B85 #242B85 #4D2485
triadic
#242B85 #85242B #2B8524
tetradic
#242B85 #85245B #857E24 #24854D
square
#242B85 #85245B #857E24 #24854D
split-complementary
#242B85 #854D24 #5B8524
monochromatic
#0A0C25 #171B55 #242B85 #313BB5 #535CD0

Accessibility & contrast

On white

11.94
#242B85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#242B85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242B85
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242B85#FFFFFF#000000##FFFFFF
##242B851.0011.941.7611.94
#FFFFFF11.941.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #242b85;
/* rgb */ color: rgb(36, 43, 133);
/* oklch */ color: oklch(34.8% 0.148 272.4);
Tailwind
colors: {
  custom: {
    50: '#6e64a9',
    500: '#242b85',
    950: '#000000',
  },
}
SCSS
$custom: #242b85;
$custom-light: #6e64a9;
$custom-dark: #000000;
JSON
{
  "hex": "#242b85",
  "rgb": {
    "r": 36,
    "g": 43,
    "b": 133
  },
  "hsl": {
    "h": 235.67,
    "s": 57.396,
    "l": 33.137
  },
  "oklch": {
    "l": 0.34789,
    "c": 0.14814,
    "h": 272.4
  },
  "luminance": 0.03796
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #242B85

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

Preview Lab → · Contrast checker → · Palette generator →

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