#282B7D#282B7D

#282B7D is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.3% C 0.136 H 275.0°. Best body text is #FFFFFF at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#282B7D
RGBrgb(40, 43, 125)
HSLhsl(238, 52%, 32%)
HSVhsv(238, 68%, 49%)
CMYKcmyk(68%, 65.6%, 0%, 51%)
CIE-LABlab(22.51, 26.69, -46.95)
CIE-LCHlch(22.51, 54.00, 299.62°)
OKLaboklab(34.28% 0.0118 -0.1354)
OKLCHoklch(34.28% 0.136 275)
XYZxyz(5.4394, 3.6591, 19.8177)
Luminance0.0366 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282B7D #7D7A28
analogous
#28567D #282B7D #4F287D
triadic
#282B7D #7D282B #2B7D28
tetradic
#282B7D #7D2856 #7D7A28 #287D4F
square
#282B7D #7D2856 #7D7A28 #287D4F
split-complementary
#282B7D #7D4F28 #567D28
monochromatic
#0A0B20 #191B4F #282B7D #373BAB #565AC9

Accessibility & contrast

On white

12.12
#282B7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#282B7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282B7D
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282B7D#FFFFFF#000000##FFFFFF
##282B7D1.0012.121.7312.12
#FFFFFF12.121.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A80
Deuteranopia (green-blind)
#00327B
Tritanopia (blue-blind)
#00404F
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #282b7d;
/* rgb */ color: rgb(40, 43, 125);
/* oklch */ color: oklch(34.3% 0.136 275.0);
Tailwind
colors: {
  custom: {
    50: '#6d64a3',
    500: '#282b7d',
    950: '#000000',
  },
}
SCSS
$custom: #282b7d;
$custom-light: #6d64a3;
$custom-dark: #000000;
JSON
{
  "hex": "#282b7d",
  "rgb": {
    "r": 40,
    "g": 43,
    "b": 125
  },
  "hsl": {
    "h": 237.882,
    "s": 51.515,
    "l": 32.353
  },
  "oklch": {
    "l": 0.34285,
    "c": 0.13587,
    "h": 275
  },
  "luminance": 0.0366
}

Semantic roles & 50–950 ramp

primary
#282B7D
secondary
#AEAB53
accent
#D64DDB
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08050F
muted
#7B7A7F

Preview Lab

Preview with #282B7D

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

Preview Lab → · Contrast checker → · Palette generator →

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