#282E97#282E97

#282E97 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.3% C 0.168 H 272.4°. Best body text is #FFFFFF at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#282E97
RGBrgb(40, 46, 151)
HSLhsl(237, 58%, 37%)
HSVhsv(237, 74%, 59%)
CMYKcmyk(73.5%, 69.5%, 0%, 40.8%)
CIE-LABlab(25.68, 34.19, -57.96)
CIE-LCHlch(25.68, 67.29, 300.54°)
OKLaboklab(37.34% 0.0071 -0.1676)
OKLCHoklch(37.34% 0.168 272.4)
XYZxyz(7.4361, 4.6387, 29.7756)
Luminance0.0464 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282E97 #979128
analogous
#286597 #282E97 #5A2897
triadic
#282E97 #97282E #2E9728
tetradic
#282E97 #972865 #979128 #28975A
square
#282E97 #972865 #979128 #28975A
split-complementary
#282E97 #975A28 #659728
monochromatic
#0E1136 #1B1F67 #282E97 #353DC7 #646AD6

Accessibility & contrast

On white

10.89
#282E97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#282E97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282E97
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282E97#FFFFFF#000000##FFFFFF
##282E971.0010.891.9310.89
#FFFFFF10.891.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429A
Deuteranopia (green-blind)
#003895
Tritanopia (blue-blind)
#004B5E
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #282e97;
/* rgb */ color: rgb(40, 46, 151);
/* oklch */ color: oklch(37.3% 0.168 272.4);
Tailwind
colors: {
  custom: {
    50: '#7367b7',
    500: '#282e97',
    950: '#000000',
  },
}
SCSS
$custom: #282e97;
$custom-light: #7367b7;
$custom-dark: #000000;
JSON
{
  "hex": "#282e97",
  "rgb": {
    "r": 40,
    "g": 46,
    "b": 151
  },
  "hsl": {
    "h": 236.757,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.37339,
    "c": 0.16774,
    "h": 272.4
  },
  "luminance": 0.04639
}

Semantic roles & 50–950 ramp

primary
#282E97
secondary
#BCB75F
accent
#D946E1
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #282E97

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

Preview Lab → · Contrast checker → · Palette generator →

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