#242BB1#242BB1

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

Color values

HEX#242BB1
RGBrgb(36, 43, 177)
HSLhsl(237, 66%, 42%)
HSVhsv(237, 80%, 69%)
CMYKcmyk(79.7%, 75.7%, 0%, 30.6%)
CIE-LABlab(27.51, 44.71, -70.69)
CIE-LCHlch(27.51, 83.65, 302.31°)
OKLaboklab(39.39% 0.0005 -0.2048)
OKLCHoklch(39.39% 0.205 270.1)
XYZxyz(9.5245, 5.2761, 42.1028)
Luminance0.0528 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242BB1 #B1AA24
analogous
#2472B1 #242BB1 #6424B1
triadic
#242BB1 #B1242B #2BB124
tetradic
#242BB1 #B12472 #B1AA24 #24B164
square
#242BB1 #B12472 #B1AA24 #24B164
split-complementary
#242BB1 #B16424 #72B124
monochromatic
#0F124B #1A1F7E #242BB1 #3B43D7 #6E74E1

Accessibility & contrast

On white

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

On black

2.06
#242BB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##242BB1#FFFFFF#000000##FFFFFF
##242BB11.0010.222.0610.22
#FFFFFF10.221.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.221.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: #242bb1;
/* rgb */ color: rgb(36, 43, 177);
/* oklch */ color: oklch(39.4% 0.205 270.1);
Tailwind
colors: {
  custom: {
    50: '#7966ca',
    500: '#242bb1',
    950: '#000000',
  },
}
SCSS
$custom: #242bb1;
$custom-light: #7966ca;
$custom-dark: #000000;
JSON
{
  "hex": "#242bb1",
  "rgb": {
    "r": 36,
    "g": 43,
    "b": 177
  },
  "hsl": {
    "h": 237.021,
    "s": 66.197,
    "l": 41.765
  },
  "oklch": {
    "l": 0.39393,
    "c": 0.20476,
    "h": 270.1
  },
  "luminance": 0.05277
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #242BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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