#282E7A#282E7A

#282E7A is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.6% C 0.128 H 274.2°. Best body text is #FFFFFF at 11.92:1 contrast (WCAG AA passes).

Color values

HEX#282E7A
RGBrgb(40, 46, 122)
HSLhsl(236, 51%, 32%)
HSVhsv(236, 67%, 48%)
CMYKcmyk(67.2%, 62.3%, 0%, 52.2%)
CIE-LABlab(23.03, 23.54, -44.19)
CIE-LCHlch(23.03, 50.07, 298.05°)
OKLaboklab(34.59% 0.0093 -0.1272)
OKLCHoklch(34.59% 0.128 274.2)
XYZxyz(5.3638, 3.8098, 18.8613)
Luminance0.0381 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282E7A #7A7428
analogous
#28577A #282E7A #4B287A
triadic
#282E7A #7A282E #2E7A28
tetradic
#282E7A #7A2857 #7A7428 #287A4B
square
#282E7A #7A2857 #7A7428 #287A4B
split-complementary
#282E7A #7A4B28 #577A28
monochromatic
#0A0B1E #191D4C #282E7A #373FA8 #555DC7

Accessibility & contrast

On white

11.92
#282E7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#282E7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282E7A
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282E7A#FFFFFF#000000##FFFFFF
##282E7A1.0011.921.7611.92
#FFFFFF11.921.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7D
Deuteranopia (green-blind)
#003378
Tritanopia (blue-blind)
#00414F
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #282e7a;
/* rgb */ color: rgb(40, 46, 122);
/* oklch */ color: oklch(34.6% 0.128 274.2);
Tailwind
colors: {
  custom: {
    50: '#6c66a1',
    500: '#282e7a',
    950: '#000000',
  },
}
SCSS
$custom: #282e7a;
$custom-light: #6c66a1;
$custom-dark: #000000;
JSON
{
  "hex": "#282e7a",
  "rgb": {
    "r": 40,
    "g": 46,
    "b": 122
  },
  "hsl": {
    "h": 235.61,
    "s": 50.617,
    "l": 31.765
  },
  "oklch": {
    "l": 0.34587,
    "c": 0.12759,
    "h": 274.2
  },
  "luminance": 0.0381
}

Semantic roles & 50–950 ramp

primary
#282E7A
secondary
#ACA552
accent
#D04EDA
background
#F6F6FA
surface
#ECEBF3
border
#C7C6CD
text
#08060F
muted
#7A7A7F

Preview Lab

Preview with #282E7A

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

Preview Lab → · Contrast checker → · Palette generator →

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