#282B7B#282B7B

#282B7B is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.1% C 0.133 H 275.1°. Best body text is #FFFFFF at 12.20:1 contrast (WCAG AA passes).

Color values

HEX#282B7B
RGBrgb(40, 43, 123)
HSLhsl(238, 51%, 32%)
HSVhsv(238, 67%, 48%)
CMYKcmyk(67.5%, 65%, 0%, 51.8%)
CIE-LABlab(22.33, 25.95, -45.97)
CIE-LCHlch(22.33, 52.79, 299.45°)
OKLaboklab(34.1% 0.0119 -0.1325)
OKLCHoklch(34.1% 0.133 275.1)
XYZxyz(5.3129, 3.6085, 19.1516)
Luminance0.0361 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282B7B #7B7828
analogous
#28557B #282B7B #4F287B
triadic
#282B7B #7B282B #2B7B28
tetradic
#282B7B #7B2855 #7B7828 #287B4F
square
#282B7B #7B2855 #7B7828 #287B4F
split-complementary
#282B7B #7B4F28 #557B28
monochromatic
#0A0B1F #191B4D #282B7B #373BA9 #565AC8

Accessibility & contrast

On white

12.20
#282B7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#282B7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282B7B
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282B7B#FFFFFF#000000##FFFFFF
##282B7B1.0012.201.7212.20
#FFFFFF12.201.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397E
Deuteranopia (green-blind)
#003279
Tritanopia (blue-blind)
#003F4E
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #282b7b;
/* rgb */ color: rgb(40, 43, 123);
/* oklch */ color: oklch(34.1% 0.133 275.1);
Tailwind
colors: {
  custom: {
    50: '#6d64a2',
    500: '#282b7b',
    950: '#000000',
  },
}
SCSS
$custom: #282b7b;
$custom-light: #6d64a2;
$custom-dark: #000000;
JSON
{
  "hex": "#282b7b",
  "rgb": {
    "r": 40,
    "g": 43,
    "b": 123
  },
  "hsl": {
    "h": 237.831,
    "s": 50.92,
    "l": 31.961
  },
  "oklch": {
    "l": 0.34099,
    "c": 0.13303,
    "h": 275.1
  },
  "luminance": 0.03609
}

Semantic roles & 50–950 ramp

primary
#282B7B
secondary
#ADAA52
accent
#D54DDA
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#08050F
muted
#7A7A7F

Preview Lab

Preview with #282B7B

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

Preview Lab → · Contrast checker → · Palette generator →

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