#282B72#282B72

#282B72 is a dark, moderate blue. Relative luminance 0.034; OKLCH L 33.3% C 0.120 H 275.9°. Best body text is #FFFFFF at 12.51:1 contrast (WCAG AA passes).

Color values

HEX#282B72
RGBrgb(40, 43, 114)
HSLhsl(238, 48%, 30%)
HSVhsv(238, 65%, 45%)
CMYKcmyk(64.9%, 62.3%, 0%, 55.3%)
CIE-LABlab(21.56, 22.62, -41.49)
CIE-LCHlch(21.56, 47.25, 298.60°)
OKLaboklab(33.28% 0.0123 -0.1193)
OKLCHoklch(33.28% 0.12 275.9)
XYZxyz(4.7752, 3.3934, 16.3197)
Luminance0.0339 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282B72 #726F28
analogous
#285072 #282B72 #4A2872
triadic
#282B72 #72282B #2B7228
tetradic
#282B72 #722850 #726F28 #28724A
square
#282B72 #722850 #726F28 #28724A
split-complementary
#282B72 #724A28 #507228
monochromatic
#080917 #181A45 #282B72 #383C9F #5257C2

Accessibility & contrast

On white

12.51
#282B72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#282B72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282B72
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282B72#FFFFFF#000000##FFFFFF
##282B721.0012.511.6812.51
#FFFFFF12.511.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003774
Deuteranopia (green-blind)
#003171
Tritanopia (blue-blind)
#003C4A
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #282b72;
/* rgb */ color: rgb(40, 43, 114);
/* oklch */ color: oklch(33.3% 0.120 275.9);
Tailwind
colors: {
  custom: {
    50: '#6b649b',
    500: '#282b72',
    950: '#000000',
  },
}
SCSS
$custom: #282b72;
$custom-light: #6b649b;
$custom-dark: #000000;
JSON
{
  "hex": "#282b72",
  "rgb": {
    "r": 40,
    "g": 43,
    "b": 114
  },
  "hsl": {
    "h": 237.568,
    "s": 48.052,
    "l": 30.196
  },
  "oklch": {
    "l": 0.33284,
    "c": 0.11996,
    "h": 275.9
  },
  "luminance": 0.03394
}

Semantic roles & 50–950 ramp

primary
#282B72
secondary
#A4A152
accent
#D250D8
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07050E
muted
#7A7A7E

Preview Lab

Preview with #282B72

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

Preview Lab → · Contrast checker → · Palette generator →

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