#282E57#282E57

#282E57 is a dark, moderate blue. Relative luminance 0.031; OKLCH L 31.8% C 0.073 H 275.2°. Best body text is #FFFFFF at 12.97:1 contrast (WCAG AA passes).

Color values

HEX#282E57
RGBrgb(40, 46, 87)
HSLhsl(232, 37%, 25%)
HSVhsv(232, 54%, 34%)
CMYKcmyk(54%, 47.1%, 0%, 65.9%)
CIE-LABlab(20.41, 10.53, -25.69)
CIE-LCHlch(20.41, 27.76, 292.28°)
OKLaboklab(31.79% 0.0066 -0.0729)
OKLCHoklch(31.79% 0.073 275.2)
XYZxyz(3.5718, 3.0930, 9.4238)
Luminance0.0309 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282E57 #575128
analogous
#284657 #282E57 #392857
triadic
#282E57 #57282E #2E5728
tetradic
#282E57 #572846 #575128 #285739
square
#282E57 #572846 #575128 #285739
split-complementary
#282E57 #573928 #465728
monochromatic
#0A0B15 #15182D #282E57 #3B4481 #4F5AAB

Accessibility & contrast

On white

12.97
#282E57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#282E57 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282E57
12.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282E57#FFFFFF#000000##FFFFFF
##282E571.0012.971.6212.97
#FFFFFF12.971.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3359
Deuteranopia (green-blind)
#192F56
Tritanopia (blue-blind)
#15373E
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #282e57;
/* rgb */ color: rgb(40, 46, 87);
/* oklch */ color: oklch(31.8% 0.073 275.2);
Tailwind
colors: {
  custom: {
    50: '#656686',
    500: '#282e57',
    950: '#000000',
  },
}
SCSS
$custom: #282e57;
$custom-light: #656686;
$custom-dark: #000000;
JSON
{
  "hex": "#282e57",
  "rgb": {
    "r": 40,
    "g": 46,
    "b": 87
  },
  "hsl": {
    "h": 232.34,
    "s": 37.008,
    "l": 24.902
  },
  "oklch": {
    "l": 0.31786,
    "c": 0.07316,
    "h": 275.2
  },
  "luminance": 0.03093
}

Semantic roles & 50–950 ramp

primary
#282E57
secondary
#8A8351
accent
#BE5BCD
background
#F6F6F8
surface
#EBEBEF
border
#C6C6CA
text
#06050B
muted
#7A7A7C

Preview Lab

Preview with #282E57

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

Preview Lab → · Contrast checker → · Palette generator →

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