#282D88#282D88

#282D88 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.7% C 0.149 H 273.6°. Best body text is #FFFFFF at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#282D88
RGBrgb(40, 45, 136)
HSLhsl(237, 55%, 35%)
HSVhsv(237, 71%, 53%)
CMYKcmyk(70.6%, 66.9%, 0%, 46.7%)
CIE-LABlab(24.02, 29.40, -51.40)
CIE-LCHlch(24.02, 59.21, 299.77°)
OKLaboklab(35.69% 0.0093 -0.1484)
OKLCHoklch(35.69% 0.149 273.6)
XYZxyz(6.2559, 4.1049, 23.7504)
Luminance0.0411 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282D88 #888328
analogous
#285D88 #282D88 #532888
triadic
#282D88 #88282D #2D8828
tetradic
#282D88 #88285D #888328 #288853
square
#282D88 #88285D #888328 #288853
split-complementary
#282D88 #885328 #5D8828
monochromatic
#0C0E29 #1A1D59 #282D88 #363DB7 #5B62CF

Accessibility & contrast

On white

11.53
#282D88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#282D88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282D88
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282D88#FFFFFF#000000##FFFFFF
##282D881.0011.531.8211.53
#FFFFFF11.531.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8B
Deuteranopia (green-blind)
#003586
Tritanopia (blue-blind)
#004556
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #282d88;
/* rgb */ color: rgb(40, 45, 136);
/* oklch */ color: oklch(35.7% 0.149 273.6);
Tailwind
colors: {
  custom: {
    50: '#7066ac',
    500: '#282d88',
    950: '#000000',
  },
}
SCSS
$custom: #282d88;
$custom-light: #7066ac;
$custom-dark: #000000;
JSON
{
  "hex": "#282d88",
  "rgb": {
    "r": 40,
    "g": 45,
    "b": 136
  },
  "hsl": {
    "h": 236.875,
    "s": 54.545,
    "l": 34.51
  },
  "oklch": {
    "l": 0.35694,
    "c": 0.1487,
    "h": 273.6
  },
  "luminance": 0.04105
}

Semantic roles & 50–950 ramp

primary
#282D88
secondary
#B4AF58
accent
#D64ADE
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #282D88

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

Preview Lab → · Contrast checker → · Palette generator →

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