#242DAF#242DAF

#242DAF is a dark, highly saturated blue. Relative luminance 0.053; OKLCH L 39.5% C 0.200 H 270.0°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#242DAF
RGBrgb(36, 45, 175)
HSLhsl(236, 66%, 41%)
HSVhsv(236, 79%, 69%)
CMYKcmyk(79.4%, 74.3%, 0%, 31.4%)
CIE-LABlab(27.70, 42.88, -69.18)
CIE-LCHlch(27.70, 81.39, 301.79°)
OKLaboklab(39.47% 0 -0.2004)
OKLCHoklch(39.47% 0.2 270)
XYZxyz(9.4012, 5.3459, 41.0855)
Luminance0.0535 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242DAF #AFA624
analogous
#2473AF #242DAF #6124AF
triadic
#242DAF #AF242D #2DAF24
tetradic
#242DAF #AF2473 #AFA624 #24AF61
square
#242DAF #AF2473 #AFA624 #24AF61
split-complementary
#242DAF #AF6124 #73AF24
monochromatic
#0F1349 #1A207C #242DAF #3A44D6 #6D74E1

Accessibility & contrast

On white

10.15
#242DAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#242DAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242DAF
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242DAF#FFFFFF#000000##FFFFFF
##242DAF1.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B3
Deuteranopia (green-blind)
#003AAD
Tritanopia (blue-blind)
#00536C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #242daf;
/* rgb */ color: rgb(36, 45, 175);
/* oklch */ color: oklch(39.5% 0.200 270.0);
Tailwind
colors: {
  custom: {
    50: '#7867c8',
    500: '#242daf',
    950: '#000000',
  },
}
SCSS
$custom: #242daf;
$custom-light: #7867c8;
$custom-dark: #000000;
JSON
{
  "hex": "#242daf",
  "rgb": {
    "r": 36,
    "g": 45,
    "b": 175
  },
  "hsl": {
    "h": 236.115,
    "s": 65.877,
    "l": 41.373
  },
  "oklch": {
    "l": 0.39465,
    "c": 0.20039,
    "h": 270
  },
  "luminance": 0.05347
}

Semantic roles & 50–950 ramp

primary
#242DAF
secondary
#C7C168
accent
#DE3FE9
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #242DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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