#242876#242876

#242876 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.8% C 0.131 H 274.3°. Best body text is #FFFFFF at 12.80:1 contrast (WCAG AA passes).

Color values

HEX#242876
RGBrgb(36, 40, 118)
HSLhsl(237, 53%, 30%)
HSVhsv(237, 69%, 46%)
CMYKcmyk(69.5%, 66.1%, 0%, 53.7%)
CIE-LABlab(20.83, 25.50, -45.25)
CIE-LCHlch(20.83, 51.94, 299.40°)
OKLaboklab(32.78% 0.0098 -0.1305)
OKLCHoklch(32.78% 0.131 274.3)
XYZxyz(4.7553, 3.2002, 17.5031)
Luminance0.0320 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242876 #767224
analogous
#245176 #242876 #492476
triadic
#242876 #762428 #287624
tetradic
#242876 #762451 #767224 #247649
square
#242876 #762451 #767224 #247649
split-complementary
#242876 #764924 #517624
monochromatic
#070818 #161847 #242876 #3238A5 #4C52C8

Accessibility & contrast

On white

12.80
#242876 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#242876 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242876
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242876#FFFFFF#000000##FFFFFF
##2428761.0012.801.6412.80
#FFFFFF12.801.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003678
Deuteranopia (green-blind)
#002E74
Tritanopia (blue-blind)
#003C4B
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #242876;
/* rgb */ color: rgb(36, 40, 118);
/* oklch */ color: oklch(32.8% 0.131 274.3);
Tailwind
colors: {
  custom: {
    50: '#6a629e',
    500: '#242876',
    950: '#000000',
  },
}
SCSS
$custom: #242876;
$custom-light: #6a629e;
$custom-dark: #000000;
JSON
{
  "hex": "#242876",
  "rgb": {
    "r": 36,
    "g": 40,
    "b": 118
  },
  "hsl": {
    "h": 237.073,
    "s": 53.247,
    "l": 30.196
  },
  "oklch": {
    "l": 0.32783,
    "c": 0.13089,
    "h": 274.3
  },
  "luminance": 0.03201
}

Semantic roles & 50–950 ramp

primary
#242876
secondary
#A9A44D
accent
#D64BDD
background
#F6F5F9
surface
#ECEAF2
border
#C7C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #242876

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

Preview Lab → · Contrast checker → · Palette generator →

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