#242CB0#242CB0

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

Color values

HEX#242CB0
RGBrgb(36, 44, 176)
HSLhsl(237, 66%, 42%)
HSVhsv(237, 80%, 69%)
CMYKcmyk(79.5%, 75%, 0%, 31%)
CIE-LABlab(27.60, 43.80, -69.94)
CIE-LCHlch(27.60, 82.53, 302.06°)
OKLaboklab(39.43% 0.0003 -0.2026)
OKLCHoklch(39.43% 0.203 270.1)
XYZxyz(9.4620, 5.3099, 41.5921)
Luminance0.0531 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242CB0 #B0A824
analogous
#2472B0 #242CB0 #6224B0
triadic
#242CB0 #B0242C #2CB024
tetradic
#242CB0 #B02472 #B0A824 #24B062
square
#242CB0 #B02472 #B0A824 #24B062
split-complementary
#242CB0 #B06224 #72B024
monochromatic
#0F134A #1A1F7D #242CB0 #3A43D7 #6D74E1

Accessibility & contrast

On white

10.18
#242CB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #242CB0
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242CB0#FFFFFF#000000##FFFFFF
##242CB01.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #242cb0;
/* rgb */ color: rgb(36, 44, 176);
/* oklch */ color: oklch(39.4% 0.203 270.1);
Tailwind
colors: {
  custom: {
    50: '#7867c9',
    500: '#242cb0',
    950: '#000000',
  },
}
SCSS
$custom: #242cb0;
$custom-light: #7867c9;
$custom-dark: #000000;
JSON
{
  "hex": "#242cb0",
  "rgb": {
    "r": 36,
    "g": 44,
    "b": 176
  },
  "hsl": {
    "h": 236.571,
    "s": 66.038,
    "l": 41.569
  },
  "oklch": {
    "l": 0.39427,
    "c": 0.20259,
    "h": 270.1
  },
  "luminance": 0.05311
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #242CB0

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

Preview Lab → · Contrast checker → · Palette generator →

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