#282E77#282E77

#282E77 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.3% C 0.123 H 274.3°. Best body text is #FFFFFF at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#282E77
RGBrgb(40, 46, 119)
HSLhsl(235, 50%, 31%)
HSVhsv(235, 66%, 47%)
CMYKcmyk(66.4%, 61.3%, 0%, 53.3%)
CIE-LABlab(22.78, 22.42, -42.69)
CIE-LCHlch(22.78, 48.22, 297.70°)
OKLaboklab(34.32% 0.0093 -0.1228)
OKLCHoklch(34.32% 0.123 274.3)
XYZxyz(5.1807, 3.7366, 17.8974)
Luminance0.0374 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282E77 #777128
analogous
#285577 #282E77 #492877
triadic
#282E77 #77282E #2E7728
tetradic
#282E77 #772855 #777128 #287749
square
#282E77 #772855 #777128 #287749
split-complementary
#282E77 #774928 #557728
monochromatic
#090B1B #191C49 #282E77 #3740A5 #545DC5

Accessibility & contrast

On white

12.02
#282E77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#282E77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282E77
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282E77#FFFFFF#000000##FFFFFF
##282E771.0012.021.7512.02
#FFFFFF12.021.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A79
Deuteranopia (green-blind)
#003376
Tritanopia (blue-blind)
#00404D
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #282e77;
/* rgb */ color: rgb(40, 46, 119);
/* oklch */ color: oklch(34.3% 0.123 274.3);
Tailwind
colors: {
  custom: {
    50: '#6c669f',
    500: '#282e77',
    950: '#000000',
  },
}
SCSS
$custom: #282e77;
$custom-light: #6c669f;
$custom-dark: #000000;
JSON
{
  "hex": "#282e77",
  "rgb": {
    "r": 40,
    "g": 46,
    "b": 119
  },
  "hsl": {
    "h": 235.443,
    "s": 49.686,
    "l": 31.176
  },
  "oklch": {
    "l": 0.34322,
    "c": 0.1232,
    "h": 274.3
  },
  "luminance": 0.03737
}

Semantic roles & 50–950 ramp

primary
#282E77
secondary
#A9A252
accent
#CF4FD9
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #282E77

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

Preview Lab → · Contrast checker → · Palette generator →

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