#282E8F#282E8F

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

Color values

HEX#282E8F
RGBrgb(40, 46, 143)
HSLhsl(237, 56%, 36%)
HSVhsv(237, 72%, 56%)
CMYKcmyk(72%, 67.8%, 0%, 43.9%)
CIE-LABlab(24.91, 31.30, -54.28)
CIE-LCHlch(24.91, 62.66, 299.97°)
OKLaboklab(36.55% 0.008 -0.1568)
OKLCHoklch(36.55% 0.157 272.9)
XYZxyz(6.8083, 4.3876, 26.4694)
Luminance0.0439 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282E8F #8F8928
analogous
#28618F #282E8F #55288F
triadic
#282E8F #8F282E #2E8F28
tetradic
#282E8F #8F2861 #8F8928 #288F55
square
#282E8F #8F2861 #8F8928 #288F55
split-complementary
#282E8F #8F5528 #618F28
monochromatic
#0D0F2F #1B1F5F #282E8F #353DBF #5F66D2

Accessibility & contrast

On white

11.18
#282E8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #282E8F
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282E8F#FFFFFF#000000##FFFFFF
##282E8F1.0011.181.8811.18
#FFFFFF11.181.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004092
Deuteranopia (green-blind)
#00368D
Tritanopia (blue-blind)
#00485A
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #282e8f;
/* rgb */ color: rgb(40, 46, 143);
/* oklch */ color: oklch(36.5% 0.157 272.9);
Tailwind
colors: {
  custom: {
    50: '#7167b1',
    500: '#282e8f',
    950: '#000000',
  },
}
SCSS
$custom: #282e8f;
$custom-light: #7167b1;
$custom-dark: #000000;
JSON
{
  "hex": "#282e8f",
  "rgb": {
    "r": 40,
    "g": 46,
    "b": 143
  },
  "hsl": {
    "h": 236.505,
    "s": 56.284,
    "l": 35.882
  },
  "oklch": {
    "l": 0.36549,
    "c": 0.15704,
    "h": 272.9
  },
  "luminance": 0.04388
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #282E8F

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

Preview Lab → · Contrast checker → · Palette generator →

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