#282EAC#282EAC

#282EAC is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.5% C 0.195 H 271.3°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#282EAC
RGBrgb(40, 46, 172)
HSLhsl(237, 62%, 42%)
HSVhsv(237, 77%, 67%)
CMYKcmyk(76.7%, 73.3%, 0%, 32.5%)
CIE-LABlab(27.80, 41.58, -67.21)
CIE-LCHlch(27.80, 79.03, 301.74°)
OKLaboklab(39.5% 0.0043 -0.1946)
OKLCHoklch(39.5% 0.195 271.3)
XYZxyz(9.2959, 5.3827, 39.5708)
Luminance0.0538 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282EAC #ACA628
analogous
#2870AC #282EAC #6428AC
triadic
#282EAC #AC282E #2EAC28
tetradic
#282EAC #AC2870 #ACA628 #28AC64
square
#282EAC #AC2870 #ACA628 #28AC64
split-complementary
#282EAC #AC6428 #70AC28
monochromatic
#111349 #1C217A #282EAC #3F46D2 #7176DE

Accessibility & contrast

On white

10.11
#282EAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#282EAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282EAC
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282EAC#FFFFFF#000000##FFFFFF
##282EAC1.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B0
Deuteranopia (green-blind)
#003BAA
Tritanopia (blue-blind)
#00526A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #282eac;
/* rgb */ color: rgb(40, 46, 172);
/* oklch */ color: oklch(39.5% 0.195 271.3);
Tailwind
colors: {
  custom: {
    50: '#7868c6',
    500: '#282eac',
    950: '#000000',
  },
}
SCSS
$custom: #282eac;
$custom-light: #7868c6;
$custom-dark: #000000;
JSON
{
  "hex": "#282eac",
  "rgb": {
    "r": 40,
    "g": 46,
    "b": 172
  },
  "hsl": {
    "h": 237.273,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.39499,
    "c": 0.19463,
    "h": 271.3
  },
  "luminance": 0.05384
}

Semantic roles & 50–950 ramp

primary
#282EAC
secondary
#C5C16B
accent
#DE42E5
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #282EAC

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

Preview Lab → · Contrast checker → · Palette generator →

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