#242CB1#242CB1

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

Color values

HEX#242CB1
RGBrgb(36, 44, 177)
HSLhsl(237, 66%, 42%)
HSVhsv(237, 80%, 69%)
CMYKcmyk(79.7%, 75.1%, 0%, 30.6%)
CIE-LABlab(27.71, 44.14, -70.36)
CIE-LCHlch(27.71, 83.06, 302.10°)
OKLaboklab(39.54% 0.0001 -0.2038)
OKLCHoklch(39.54% 0.204 270)
XYZxyz(9.5613, 5.3497, 42.1151)
Luminance0.0535 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242CB1 #B1A924
analogous
#2473B1 #242CB1 #6324B1
triadic
#242CB1 #B1242C #2CB124
tetradic
#242CB1 #B12473 #B1A924 #24B163
square
#242CB1 #B12473 #B1A924 #24B163
split-complementary
#242CB1 #B16324 #73B124
monochromatic
#0F134B #1A1F7E #242CB1 #3B44D7 #6E74E1

Accessibility & contrast

On white

10.14
#242CB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #242CB1
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242CB1#FFFFFF#000000##FFFFFF
##242CB11.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #242cb1;
/* rgb */ color: rgb(36, 44, 177);
/* oklch */ color: oklch(39.5% 0.204 270.0);
Tailwind
colors: {
  custom: {
    50: '#7967ca',
    500: '#242cb1',
    950: '#000000',
  },
}
SCSS
$custom: #242cb1;
$custom-light: #7967ca;
$custom-dark: #000000;
JSON
{
  "hex": "#242cb1",
  "rgb": {
    "r": 36,
    "g": 44,
    "b": 177
  },
  "hsl": {
    "h": 236.596,
    "s": 66.197,
    "l": 41.765
  },
  "oklch": {
    "l": 0.39536,
    "c": 0.20381,
    "h": 270
  },
  "luminance": 0.05351
}

Semantic roles & 50–950 ramp

primary
#242CB1
secondary
#C8C369
accent
#DF3FE9
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #242CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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