#242CAF#242CAF

#242CAF is a dark, highly saturated blue. Relative luminance 0.053; OKLCH L 39.3% C 0.201 H 270.1°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#242CAF
RGBrgb(36, 44, 175)
HSLhsl(237, 66%, 41%)
HSVhsv(237, 79%, 69%)
CMYKcmyk(79.4%, 74.9%, 0%, 31.4%)
CIE-LABlab(27.49, 43.46, -69.52)
CIE-LCHlch(27.49, 81.99, 302.01°)
OKLaboklab(39.32% 0.0004 -0.2014)
OKLCHoklch(39.32% 0.201 270.1)
XYZxyz(9.3635, 5.2705, 41.0729)
Luminance0.0527 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242CAF #AFA724
analogous
#2472AF #242CAF #6224AF
triadic
#242CAF #AF242C #2CAF24
tetradic
#242CAF #AF2472 #AFA724 #24AF62
square
#242CAF #AF2472 #AFA724 #24AF62
split-complementary
#242CAF #AF6224 #72AF24
monochromatic
#0F1249 #1A1F7C #242CAF #3A43D6 #6D73E1

Accessibility & contrast

On white

10.22
#242CAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#242CAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242CAF
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242CAF#FFFFFF#000000##FFFFFF
##242CAF1.0010.222.0510.22
#FFFFFF10.221.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #242caf;
/* rgb */ color: rgb(36, 44, 175);
/* oklch */ color: oklch(39.3% 0.201 270.1);
Tailwind
colors: {
  custom: {
    50: '#7867c8',
    500: '#242caf',
    950: '#000000',
  },
}
SCSS
$custom: #242caf;
$custom-light: #7867c8;
$custom-dark: #000000;
JSON
{
  "hex": "#242caf",
  "rgb": {
    "r": 36,
    "g": 44,
    "b": 175
  },
  "hsl": {
    "h": 236.547,
    "s": 65.877,
    "l": 41.373
  },
  "oklch": {
    "l": 0.39318,
    "c": 0.20137,
    "h": 270.1
  },
  "luminance": 0.05272
}

Semantic roles & 50–950 ramp

primary
#242CAF
secondary
#C7C268
accent
#DF3FE9
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #242CAF

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

Preview Lab → · Contrast checker → · Palette generator →

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