#242FB0#242FB0

#242FB0 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.9% C 0.200 H 269.7°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#242FB0
RGBrgb(36, 47, 176)
HSLhsl(235, 66%, 42%)
HSVhsv(235, 80%, 69%)
CMYKcmyk(79.5%, 73.3%, 0%, 31%)
CIE-LABlab(28.23, 42.05, -68.91)
CIE-LCHlch(28.23, 80.73, 301.39°)
OKLaboklab(39.87% -0.0009 -0.1996)
OKLCHoklch(39.87% 0.2 269.7)
XYZxyz(9.5779, 5.5416, 41.6307)
Luminance0.0554 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242FB0 #B0A524
analogous
#2475B0 #242FB0 #5F24B0
triadic
#242FB0 #B0242F #2FB024
tetradic
#242FB0 #B02475 #B0A524 #24B05F
square
#242FB0 #B02475 #B0A524 #24B05F
split-complementary
#242FB0 #B05F24 #75B024
monochromatic
#0F144A #1A217D #242FB0 #3A47D7 #6D76E1

Accessibility & contrast

On white

9.96
#242FB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#242FB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242FB0
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242FB0#FFFFFF#000000##FFFFFF
##242FB01.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B4
Deuteranopia (green-blind)
#003CAE
Tritanopia (blue-blind)
#00546D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #242fb0;
/* rgb */ color: rgb(36, 47, 176);
/* oklch */ color: oklch(39.9% 0.200 269.7);
Tailwind
colors: {
  custom: {
    50: '#7869c9',
    500: '#242fb0',
    950: '#000000',
  },
}
SCSS
$custom: #242fb0;
$custom-light: #7869c9;
$custom-dark: #000000;
JSON
{
  "hex": "#242fb0",
  "rgb": {
    "r": 36,
    "g": 47,
    "b": 176
  },
  "hsl": {
    "h": 235.286,
    "s": 66.038,
    "l": 41.569
  },
  "oklch": {
    "l": 0.39873,
    "c": 0.19961,
    "h": 269.7
  },
  "luminance": 0.05543
}

Semantic roles & 50–950 ramp

primary
#242FB0
secondary
#C8C068
accent
#DC3FE9
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #242FB0

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

Preview Lab → · Contrast checker → · Palette generator →

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