#282E90#282E90

#282E90 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.6% C 0.158 H 272.9°. Best body text is #FFFFFF at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#282E90
RGBrgb(40, 46, 144)
HSLhsl(237, 57%, 36%)
HSVhsv(237, 72%, 56%)
CMYKcmyk(72.2%, 68.1%, 0%, 43.5%)
CIE-LABlab(25.01, 31.67, -54.75)
CIE-LCHlch(25.01, 63.24, 300.05°)
OKLaboklab(36.65% 0.0079 -0.1582)
OKLCHoklch(36.65% 0.158 272.9)
XYZxyz(6.8844, 4.4180, 26.8701)
Luminance0.0442 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282E90 #908A28
analogous
#286290 #282E90 #562890
triadic
#282E90 #90282E #2E9028
tetradic
#282E90 #902862 #908A28 #289056
square
#282E90 #902862 #908A28 #289056
split-complementary
#282E90 #905628 #629028
monochromatic
#0D0F30 #1B1F60 #282E90 #353DC0 #6066D3

Accessibility & contrast

On white

11.15
#282E90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#282E90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282E90
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282E90#FFFFFF#000000##FFFFFF
##282E901.0011.151.8811.15
#FFFFFF11.151.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004093
Deuteranopia (green-blind)
#00368E
Tritanopia (blue-blind)
#00485B
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #282e90;
/* rgb */ color: rgb(40, 46, 144);
/* oklch */ color: oklch(36.6% 0.158 272.9);
Tailwind
colors: {
  custom: {
    50: '#7267b1',
    500: '#282e90',
    950: '#000000',
  },
}
SCSS
$custom: #282e90;
$custom-light: #7267b1;
$custom-dark: #000000;
JSON
{
  "hex": "#282e90",
  "rgb": {
    "r": 40,
    "g": 46,
    "b": 144
  },
  "hsl": {
    "h": 236.538,
    "s": 56.522,
    "l": 36.078
  },
  "oklch": {
    "l": 0.36647,
    "c": 0.1584,
    "h": 272.9
  },
  "luminance": 0.04419
}

Semantic roles & 50–950 ramp

primary
#282E90
secondary
#B8B35C
accent
#D748E0
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #282E90

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

Preview Lab → · Contrast checker → · Palette generator →

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