#282B9E#282B9E

#282B9E is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.6% C 0.180 H 272.5°. Best body text is #FFFFFF at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#282B9E
RGBrgb(40, 43, 158)
HSLhsl(238, 60%, 39%)
HSVhsv(238, 75%, 62%)
CMYKcmyk(74.7%, 72.8%, 0%, 38%)
CIE-LABlab(25.70, 38.53, -62.20)
CIE-LCHlch(25.70, 73.16, 301.78°)
OKLaboklab(37.57% 0.0079 -0.18)
OKLCHoklch(37.57% 0.18 272.5)
XYZxyz(7.9084, 4.6467, 32.8212)
Luminance0.0465 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282B9E #9E9B28
analogous
#28669E #282B9E #60289E
triadic
#282B9E #9E282B #2B9E28
tetradic
#282B9E #9E2866 #9E9B28 #289E60
square
#282B9E #9E2866 #9E9B28 #289E60
split-complementary
#282B9E #9E6028 #669E28
monochromatic
#0F103C #1C1E6D #282B9E #373BCC #686BD9

Accessibility & contrast

On white

10.88
#282B9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#282B9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282B9E
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282B9E#FFFFFF#000000##FFFFFF
##282B9E1.0010.881.9310.88
#FFFFFF10.881.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A1
Deuteranopia (green-blind)
#00379C
Tritanopia (blue-blind)
#004B61
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #282b9e;
/* rgb */ color: rgb(40, 43, 158);
/* oklch */ color: oklch(37.6% 0.180 272.5);
Tailwind
colors: {
  custom: {
    50: '#7565bc',
    500: '#282b9e',
    950: '#000000',
  },
}
SCSS
$custom: #282b9e;
$custom-light: #7565bc;
$custom-dark: #000000;
JSON
{
  "hex": "#282b9e",
  "rgb": {
    "r": 40,
    "g": 43,
    "b": 158
  },
  "hsl": {
    "h": 238.475,
    "s": 59.596,
    "l": 38.824
  },
  "oklch": {
    "l": 0.37567,
    "c": 0.18013,
    "h": 272.5
  },
  "luminance": 0.04647
}

Semantic roles & 50–950 ramp

primary
#282B9E
secondary
#BFBC63
accent
#DF45E3
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #282B9E

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

Preview Lab → · Contrast checker → · Palette generator →

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