#282E58#282E58

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

Color values

HEX#282E58
RGBrgb(40, 46, 88)
HSLhsl(233, 38%, 25%)
HSVhsv(233, 55%, 35%)
CMYKcmyk(54.5%, 47.7%, 0%, 65.5%)
CIE-LABlab(20.48, 10.89, -26.25)
CIE-LCHlch(20.48, 28.42, 292.53°)
OKLaboklab(31.86% 0.0068 -0.0745)
OKLCHoklch(31.86% 0.075 275.2)
XYZxyz(3.6130, 3.1095, 9.6404)
Luminance0.0311 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282E58 #585228
analogous
#284658 #282E58 #3A2858
triadic
#282E58 #58282E #2E5828
tetradic
#282E58 #582846 #585228 #28583A
square
#282E58 #582846 #585228 #28583A
split-complementary
#282E58 #583A28 #465828
monochromatic
#0A0B15 #15182E #282E58 #3B4482 #4E5AAC

Accessibility & contrast

On white

12.95
#282E58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #282E58
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282E58#FFFFFF#000000##FFFFFF
##282E581.0012.951.6212.95
#FFFFFF12.951.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D335A
Deuteranopia (green-blind)
#182F57
Tritanopia (blue-blind)
#14373E
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #282e58;
/* rgb */ color: rgb(40, 46, 88);
/* oklch */ color: oklch(31.9% 0.075 275.2);
Tailwind
colors: {
  custom: {
    50: '#666687',
    500: '#282e58',
    950: '#000000',
  },
}
SCSS
$custom: #282e58;
$custom-light: #666687;
$custom-dark: #000000;
JSON
{
  "hex": "#282e58",
  "rgb": {
    "r": 40,
    "g": 46,
    "b": 88
  },
  "hsl": {
    "h": 232.5,
    "s": 37.5,
    "l": 25.098
  },
  "oklch": {
    "l": 0.31856,
    "c": 0.07481,
    "h": 275.2
  },
  "luminance": 0.0311
}

Semantic roles & 50–950 ramp

primary
#282E58
secondary
#8B8451
accent
#BF5ACD
background
#F6F6F8
surface
#EBEBEF
border
#C6C6CA
text
#06060B
muted
#7A7A7C

Preview Lab

Preview with #282E58

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

Preview Lab → · Contrast checker → · Palette generator →

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