#282E60#282E60

#282E60 is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.4% C 0.088 H 275.2°. Best body text is #FFFFFF at 12.73:1 contrast (WCAG AA passes).

Color values

HEX#282E60
RGBrgb(40, 46, 96)
HSLhsl(234, 41%, 27%)
HSVhsv(234, 58%, 38%)
CMYKcmyk(58.3%, 52.1%, 0%, 62.4%)
CIE-LABlab(21.02, 13.82, -30.67)
CIE-LCHlch(21.02, 33.64, 294.26°)
OKLaboklab(32.44% 0.008 -0.0875)
OKLCHoklch(32.44% 0.088 275.2)
XYZxyz(3.9627, 3.2494, 11.4824)
Luminance0.0325 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282E60 #605A28
analogous
#284A60 #282E60 #3E2860
triadic
#282E60 #60282E #2E6028
tetradic
#282E60 #60284A #605A28 #28603E
square
#282E60 #60284A #605A28 #28603E
split-complementary
#282E60 #603E28 #4A6028
monochromatic
#090A16 #161935 #282E60 #3A438B #4D59B5

Accessibility & contrast

On white

12.73
#282E60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#282E60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282E60
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282E60#FFFFFF#000000##FFFFFF
##282E601.0012.731.6512.73
#FFFFFF12.731.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#163562
Deuteranopia (green-blind)
#0F305F
Tritanopia (blue-blind)
#0C3942
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #282e60;
/* rgb */ color: rgb(40, 46, 96);
/* oklch */ color: oklch(32.4% 0.088 275.2);
Tailwind
colors: {
  custom: {
    50: '#67668d',
    500: '#282e60',
    950: '#000000',
  },
}
SCSS
$custom: #282e60;
$custom-light: #67668d;
$custom-dark: #000000;
JSON
{
  "hex": "#282e60",
  "rgb": {
    "r": 40,
    "g": 46,
    "b": 96
  },
  "hsl": {
    "h": 233.571,
    "s": 41.176,
    "l": 26.667
  },
  "oklch": {
    "l": 0.3244,
    "c": 0.08785,
    "h": 275.2
  },
  "luminance": 0.0325
}

Semantic roles & 50–950 ramp

primary
#282E60
secondary
#938C51
accent
#C457D1
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06060C
muted
#7A7A7D

Preview Lab

Preview with #282E60

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

Preview Lab → · Contrast checker → · Palette generator →

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