#282E7E#282E7E

#282E7E is a dark, vivid blue. Relative luminance 0.039; OKLCH L 34.9% C 0.133 H 273.9°. Best body text is #FFFFFF at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#282E7E
RGBrgb(40, 46, 126)
HSLhsl(236, 52%, 33%)
HSVhsv(236, 68%, 49%)
CMYKcmyk(68.3%, 63.5%, 0%, 50.6%)
CIE-LABlab(23.38, 25.03, -46.17)
CIE-LCHlch(23.38, 52.52, 298.47°)
OKLaboklab(34.95% 0.0092 -0.133)
OKLCHoklch(34.95% 0.133 273.9)
XYZxyz(5.6167, 3.9110, 20.1935)
Luminance0.0391 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282E7E #7E7828
analogous
#28597E #282E7E #4D287E
triadic
#282E7E #7E282E #2E7E28
tetradic
#282E7E #7E2859 #7E7828 #287E4D
square
#282E7E #7E2859 #7E7828 #287E4D
split-complementary
#282E7E #7E4D28 #597E28
monochromatic
#0B0C21 #191D50 #282E7E #373FAC #575FCA

Accessibility & contrast

On white

11.78
#282E7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#282E7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282E7E
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282E7E#FFFFFF#000000##FFFFFF
##282E7E1.0011.781.7811.78
#FFFFFF11.781.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C81
Deuteranopia (green-blind)
#00347C
Tritanopia (blue-blind)
#004251
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #282e7e;
/* rgb */ color: rgb(40, 46, 126);
/* oklch */ color: oklch(34.9% 0.133 273.9);
Tailwind
colors: {
  custom: {
    50: '#6d66a4',
    500: '#282e7e',
    950: '#000000',
  },
}
SCSS
$custom: #282e7e;
$custom-light: #6d66a4;
$custom-dark: #000000;
JSON
{
  "hex": "#282e7e",
  "rgb": {
    "r": 40,
    "g": 46,
    "b": 126
  },
  "hsl": {
    "h": 235.814,
    "s": 51.807,
    "l": 32.549
  },
  "oklch": {
    "l": 0.34947,
    "c": 0.13336,
    "h": 273.9
  },
  "luminance": 0.03911
}

Semantic roles & 50–950 ramp

primary
#282E7E
secondary
#AFA853
accent
#D14DDB
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #282E7E

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

Preview Lab → · Contrast checker → · Palette generator →

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