#242EB0#242EB0

#242EB0 is a dark, highly saturated blue. Relative luminance 0.055; OKLCH L 39.7% C 0.201 H 269.9°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#242EB0
RGBrgb(36, 46, 176)
HSLhsl(236, 66%, 42%)
HSVhsv(236, 80%, 69%)
CMYKcmyk(79.5%, 73.9%, 0%, 31%)
CIE-LABlab(28.01, 42.64, -69.26)
CIE-LCHlch(28.01, 81.33, 301.62°)
OKLaboklab(39.72% -0.0005 -0.2006)
OKLCHoklch(39.72% 0.201 269.9)
XYZxyz(9.5383, 5.4626, 41.6175)
Luminance0.0546 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242EB0 #B0A624
analogous
#2474B0 #242EB0 #6024B0
triadic
#242EB0 #B0242E #2EB024
tetradic
#242EB0 #B02474 #B0A624 #24B060
square
#242EB0 #B02474 #B0A624 #24B060
split-complementary
#242EB0 #B06024 #74B024
monochromatic
#0F134A #1A217D #242EB0 #3A46D7 #6D76E1

Accessibility & contrast

On white

10.03
#242EB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#242EB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242EB0
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242EB0#FFFFFF#000000##FFFFFF
##242EB01.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B4
Deuteranopia (green-blind)
#003BAE
Tritanopia (blue-blind)
#00546C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #242eb0;
/* rgb */ color: rgb(36, 46, 176);
/* oklch */ color: oklch(39.7% 0.201 269.9);
Tailwind
colors: {
  custom: {
    50: '#7868c9',
    500: '#242eb0',
    950: '#000000',
  },
}
SCSS
$custom: #242eb0;
$custom-light: #7868c9;
$custom-dark: #000000;
JSON
{
  "hex": "#242eb0",
  "rgb": {
    "r": 36,
    "g": 46,
    "b": 176
  },
  "hsl": {
    "h": 235.714,
    "s": 66.038,
    "l": 41.569
  },
  "oklch": {
    "l": 0.39722,
    "c": 0.20062,
    "h": 269.9
  },
  "luminance": 0.05464
}

Semantic roles & 50–950 ramp

primary
#242EB0
secondary
#C8C168
accent
#DD3FE9
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #242EB0

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

Preview Lab → · Contrast checker → · Palette generator →

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