#242D83#242D83

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

Color values

HEX#242D83
RGBrgb(36, 45, 131)
HSLhsl(234, 57%, 33%)
HSVhsv(234, 73%, 51%)
CMYKcmyk(72.5%, 65.6%, 0%, 48.6%)
CIE-LABlab(23.30, 26.99, -49.44)
CIE-LCHlch(23.30, 56.33, 298.63°)
OKLaboklab(34.97% 0.005 -0.1428)
OKLCHoklch(34.97% 0.143 272)
XYZxyz(5.7613, 3.8900, 21.9155)
Luminance0.0389 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242D83 #837A24
analogous
#245C83 #242D83 #4B2483
triadic
#242D83 #83242D #2D8324
tetradic
#242D83 #83245C #837A24 #24834B
square
#242D83 #83245C #837A24 #24834B
split-complementary
#242D83 #834B24 #5C8324
monochromatic
#0A0C23 #171D53 #242D83 #313DB3 #525ECF

Accessibility & contrast

On white

11.81
#242D83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#242D83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242D83
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242D83#FFFFFF#000000##FFFFFF
##242D831.0011.811.7811.81
#FFFFFF11.811.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C86
Deuteranopia (green-blind)
#003381
Tritanopia (blue-blind)
#004353
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #242d83;
/* rgb */ color: rgb(36, 45, 131);
/* oklch */ color: oklch(35.0% 0.143 272.0);
Tailwind
colors: {
  custom: {
    50: '#6d66a8',
    500: '#242d83',
    950: '#000000',
  },
}
SCSS
$custom: #242d83;
$custom-light: #6d66a8;
$custom-dark: #000000;
JSON
{
  "hex": "#242d83",
  "rgb": {
    "r": 36,
    "g": 45,
    "b": 131
  },
  "hsl": {
    "h": 234.316,
    "s": 56.886,
    "l": 32.745
  },
  "oklch": {
    "l": 0.34965,
    "c": 0.14287,
    "h": 272
  },
  "luminance": 0.03891
}

Semantic roles & 50–950 ramp

primary
#242D83
secondary
#B3AA4F
accent
#D248E0
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080510
muted
#7B7A7F

Preview Lab

Preview with #242D83

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

Preview Lab → · Contrast checker → · Palette generator →

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