#282B8E#282B8E

#282B8E is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.9% C 0.159 H 273.7°. Best body text is #FFFFFF at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#282B8E
RGBrgb(40, 43, 142)
HSLhsl(238, 56%, 36%)
HSVhsv(238, 72%, 56%)
CMYKcmyk(71.8%, 69.7%, 0%, 44.3%)
CIE-LABlab(24.10, 32.87, -55.00)
CIE-LCHlch(24.10, 64.07, 300.87°)
OKLaboklab(35.93% 0.0102 -0.1589)
OKLCHoklch(35.93% 0.159 273.7)
XYZxyz(6.6198, 4.1312, 26.0345)
Luminance0.0413 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282B8E #8E8B28
analogous
#285E8E #282B8E #58288E
triadic
#282B8E #8E282B #2B8E28
tetradic
#282B8E #8E285E #8E8B28 #288E58
square
#282B8E #8E285E #8E8B28 #288E58
split-complementary
#282B8E #8E5828 #5E8E28
monochromatic
#0D0E2F #1B1D5E #282B8E #3539BE #5F62D2

Accessibility & contrast

On white

11.50
#282B8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#282B8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282B8E
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282B8E#FFFFFF#000000##FFFFFF
##282B8E1.0011.501.8311.50
#FFFFFF11.501.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E91
Deuteranopia (green-blind)
#00358C
Tritanopia (blue-blind)
#004659
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #282b8e;
/* rgb */ color: rgb(40, 43, 142);
/* oklch */ color: oklch(35.9% 0.159 273.7);
Tailwind
colors: {
  custom: {
    50: '#7165b0',
    500: '#282b8e',
    950: '#000000',
  },
}
SCSS
$custom: #282b8e;
$custom-light: #7165b0;
$custom-dark: #000000;
JSON
{
  "hex": "#282b8e",
  "rgb": {
    "r": 40,
    "g": 43,
    "b": 142
  },
  "hsl": {
    "h": 238.235,
    "s": 56.044,
    "l": 35.686
  },
  "oklch": {
    "l": 0.3593,
    "c": 0.15926,
    "h": 273.7
  },
  "luminance": 0.04132
}

Semantic roles & 50–950 ramp

primary
#282B8E
secondary
#B7B55B
accent
#DB48DF
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #282B8E

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

Preview Lab → · Contrast checker → · Palette generator →

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