#242176#242176

#242176 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.5% C 0.140 H 276.3°. Best body text is #FFFFFF at 13.51:1 contrast (WCAG AA passes).

Color values

HEX#242176
RGBrgb(36, 33, 118)
HSLhsl(242, 56%, 30%)
HSVhsv(242, 72%, 46%)
CMYKcmyk(69.5%, 72%, 0%, 53.7%)
CIE-LABlab(19.10, 30.13, -48.08)
CIE-LCHlch(19.10, 56.74, 302.07°)
OKLaboklab(31.53% 0.0154 -0.1388)
OKLCHoklch(31.53% 0.14 276.3)
XYZxyz(4.5404, 2.7704, 17.4315)
Luminance0.0277 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242176 #737621
analogous
#214876 #242176 #4F2176
triadic
#242176 #762421 #217624
tetradic
#242176 #762148 #737621 #21764F
square
#242176 #762148 #737621 #21764F
split-complementary
#242176 #764F21 #487621
monochromatic
#070718 #151446 #242176 #332EA6 #4B46CB

Accessibility & contrast

On white

13.51
#242176 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#242176 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242176
13.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242176#FFFFFF#000000##FFFFFF
##2421761.0013.511.5513.51
#FFFFFF13.511.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003279
Deuteranopia (green-blind)
#002B74
Tritanopia (blue-blind)
#003848
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #242176;
/* rgb */ color: rgb(36, 33, 118);
/* oklch */ color: oklch(31.5% 0.140 276.3);
Tailwind
colors: {
  custom: {
    50: '#6b5d9e',
    500: '#242176',
    950: '#000000',
  },
}
SCSS
$custom: #242176;
$custom-light: #6b5d9e;
$custom-dark: #000000;
JSON
{
  "hex": "#242176",
  "rgb": {
    "r": 36,
    "g": 33,
    "b": 118
  },
  "hsl": {
    "h": 242.118,
    "s": 56.291,
    "l": 29.608
  },
  "oklch": {
    "l": 0.31528,
    "c": 0.13969,
    "h": 276.3
  },
  "luminance": 0.02771
}

Semantic roles & 50–950 ramp

primary
#242176
secondary
#A6A94A
accent
#E048DA
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #242176

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

Preview Lab → · Contrast checker → · Palette generator →

#242176 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva