#282B58#282B58

#282B58 is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.2% C 0.080 H 277.8°. Best body text is #FFFFFF at 13.32:1 contrast (WCAG AA passes).

Color values

HEX#282B58
RGBrgb(40, 43, 88)
HSLhsl(236, 38%, 25%)
HSVhsv(236, 55%, 35%)
CMYKcmyk(54.5%, 51.1%, 0%, 65.5%)
CIE-LABlab(19.57, 13.03, -27.70)
CIE-LCHlch(19.57, 30.61, 295.19°)
OKLaboklab(31.17% 0.0109 -0.0788)
OKLCHoklch(31.17% 0.08 277.8)
XYZxyz(3.4999, 2.8832, 9.6027)
Luminance0.0288 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282B58 #585528
analogous
#284358 #282B58 #3D2858
triadic
#282B58 #58282B #2B5828
tetradic
#282B58 #582843 #585528 #28583D
square
#282B58 #582843 #585528 #28583D
split-complementary
#282B58 #583D28 #435828
monochromatic
#0A0A15 #15162E #282B58 #3B4082 #4E54AC

Accessibility & contrast

On white

13.32
#282B58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#282B58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282B58
13.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282B58#FFFFFF#000000##FFFFFF
##282B581.0013.321.5813.32
#FFFFFF13.321.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17315A
Deuteranopia (green-blind)
#132E57
Tritanopia (blue-blind)
#15353D
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #282b58;
/* rgb */ color: rgb(40, 43, 88);
/* oklch */ color: oklch(31.2% 0.080 277.8);
Tailwind
colors: {
  custom: {
    50: '#666487',
    500: '#282b58',
    950: '#000000',
  },
}
SCSS
$custom: #282b58;
$custom-light: #666487;
$custom-dark: #000000;
JSON
{
  "hex": "#282b58",
  "rgb": {
    "r": 40,
    "g": 43,
    "b": 88
  },
  "hsl": {
    "h": 236.25,
    "s": 37.5,
    "l": 25.098
  },
  "oklch": {
    "l": 0.31167,
    "c": 0.07953,
    "h": 277.8
  },
  "luminance": 0.02883
}

Semantic roles & 50–950 ramp

primary
#282B58
secondary
#8B8751
accent
#C65ACD
background
#F6F5F8
surface
#EBEAEF
border
#C6C6CA
text
#06050B
muted
#7A797C

Preview Lab

Preview with #282B58

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

Preview Lab → · Contrast checker → · Palette generator →

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