#282B99#282B99

#282B99 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.0% C 0.174 H 272.9°. Best body text is #FFFFFF at 11.08:1 contrast (WCAG AA passes).

Color values

HEX#282B99
RGBrgb(40, 43, 153)
HSLhsl(238, 59%, 38%)
HSVhsv(238, 74%, 60%)
CMYKcmyk(73.9%, 71.9%, 0%, 40%)
CIE-LABlab(25.19, 36.78, -59.98)
CIE-LCHlch(25.19, 70.36, 301.51°)
OKLaboklab(37.05% 0.0087 -0.1735)
OKLCHoklch(37.05% 0.174 272.9)
XYZxyz(7.4868, 4.4780, 30.6006)
Luminance0.0448 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282B99 #999628
analogous
#286399 #282B99 #5D2899
triadic
#282B99 #99282B #2B9928
tetradic
#282B99 #992863 #999628 #28995D
square
#282B99 #992863 #999628 #28995D
split-complementary
#282B99 #995D28 #639928
monochromatic
#0F1038 #1B1D68 #282B99 #3539CA #6568D7

Accessibility & contrast

On white

11.08
#282B99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#282B99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282B99
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282B99#FFFFFF#000000##FFFFFF
##282B991.0011.081.9011.08
#FFFFFF11.081.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419C
Deuteranopia (green-blind)
#003697
Tritanopia (blue-blind)
#004A5F
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #282b99;
/* rgb */ color: rgb(40, 43, 153);
/* oklch */ color: oklch(37.0% 0.174 272.9);
Tailwind
colors: {
  custom: {
    50: '#7465b8',
    500: '#282b99',
    950: '#000000',
  },
}
SCSS
$custom: #282b99;
$custom-light: #7465b8;
$custom-dark: #000000;
JSON
{
  "hex": "#282b99",
  "rgb": {
    "r": 40,
    "g": 43,
    "b": 153
  },
  "hsl": {
    "h": 238.407,
    "s": 58.549,
    "l": 37.843
  },
  "oklch": {
    "l": 0.37048,
    "c": 0.17373,
    "h": 272.9
  },
  "luminance": 0.04479
}

Semantic roles & 50–950 ramp

primary
#282B99
secondary
#BDBA60
accent
#DE46E2
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #282B99

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

Preview Lab → · Contrast checker → · Palette generator →

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