#282C88#282C88

#282C88 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.5% C 0.150 H 273.9°. Best body text is #FFFFFF at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#282C88
RGBrgb(40, 44, 136)
HSLhsl(238, 55%, 35%)
HSVhsv(238, 71%, 53%)
CMYKcmyk(70.6%, 67.6%, 0%, 46.7%)
CIE-LABlab(23.77, 30.05, -51.80)
CIE-LCHlch(23.77, 59.89, 300.12°)
OKLaboklab(35.51% 0.0101 -0.1496)
OKLCHoklch(35.51% 0.15 273.9)
XYZxyz(6.2182, 4.0295, 23.7378)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282C88 #888428
analogous
#285C88 #282C88 #542888
triadic
#282C88 #88282C #2C8828
tetradic
#282C88 #88285C #888428 #288854
square
#282C88 #88285C #888428 #288854
split-complementary
#282C88 #885428 #5C8828
monochromatic
#0C0D29 #1A1D59 #282C88 #363BB7 #5B60CF

Accessibility & contrast

On white

11.63
#282C88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#282C88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282C88
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282C88#FFFFFF#000000##FFFFFF
##282C881.0011.631.8111.63
#FFFFFF11.631.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8B
Deuteranopia (green-blind)
#003486
Tritanopia (blue-blind)
#004456
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #282c88;
/* rgb */ color: rgb(40, 44, 136);
/* oklch */ color: oklch(35.5% 0.150 273.9);
Tailwind
colors: {
  custom: {
    50: '#7065ac',
    500: '#282c88',
    950: '#000000',
  },
}
SCSS
$custom: #282c88;
$custom-light: #7065ac;
$custom-dark: #000000;
JSON
{
  "hex": "#282c88",
  "rgb": {
    "r": 40,
    "g": 44,
    "b": 136
  },
  "hsl": {
    "h": 237.5,
    "s": 54.545,
    "l": 34.51
  },
  "oklch": {
    "l": 0.35514,
    "c": 0.14994,
    "h": 273.9
  },
  "luminance": 0.0403
}

Semantic roles & 50–950 ramp

primary
#282C88
secondary
#B4B058
accent
#D84ADE
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080510
muted
#7B7A7F

Preview Lab

Preview with #282C88

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

Preview Lab → · Contrast checker → · Palette generator →

#282C88 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva