#282E5C#282E5C

#282E5C is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.1% C 0.081 H 275.3°. Best body text is #FFFFFF at 12.84:1 contrast (WCAG AA passes).

Color values

HEX#282E5C
RGBrgb(40, 46, 92)
HSLhsl(233, 39%, 26%)
HSVhsv(233, 57%, 36%)
CMYKcmyk(56.5%, 50%, 0%, 63.9%)
CIE-LABlab(20.74, 12.35, -28.48)
CIE-LCHlch(20.74, 31.04, 293.44°)
OKLaboklab(32.14% 0.0075 -0.081)
OKLCHoklch(32.14% 0.081 275.3)
XYZxyz(3.7832, 3.1776, 10.5371)
Luminance0.0318 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282E5C #5C5628
analogous
#28485C #282E5C #3C285C
triadic
#282E5C #5C282E #2E5C28
tetradic
#282E5C #5C2848 #5C5628 #285C3C
square
#282E5C #5C2848 #5C5628 #285C3C
split-complementary
#282E5C #5C3C28 #485C28
monochromatic
#090B15 #151931 #282E5C #3B4387 #4D59B1

Accessibility & contrast

On white

12.84
#282E5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#282E5C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282E5C
12.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282E5C#FFFFFF#000000##FFFFFF
##282E5C1.0012.841.6412.84
#FFFFFF12.841.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A345E
Deuteranopia (green-blind)
#14305B
Tritanopia (blue-blind)
#113840
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #282e5c;
/* rgb */ color: rgb(40, 46, 92);
/* oklch */ color: oklch(32.1% 0.081 275.3);
Tailwind
colors: {
  custom: {
    50: '#66668a',
    500: '#282e5c',
    950: '#000000',
  },
}
SCSS
$custom: #282e5c;
$custom-light: #66668a;
$custom-dark: #000000;
JSON
{
  "hex": "#282e5c",
  "rgb": {
    "r": 40,
    "g": 46,
    "b": 92
  },
  "hsl": {
    "h": 233.077,
    "s": 39.394,
    "l": 25.882
  },
  "oklch": {
    "l": 0.32143,
    "c": 0.08138,
    "h": 275.3
  },
  "luminance": 0.03178
}

Semantic roles & 50–950 ramp

primary
#282E5C
secondary
#8F8851
accent
#C259CF
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06060C
muted
#7A7A7D

Preview Lab

Preview with #282E5C

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

Preview Lab → · Contrast checker → · Palette generator →

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