#282FAE#282FAE

#282FAE is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.9% C 0.196 H 271.0°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#282FAE
RGBrgb(40, 47, 174)
HSLhsl(237, 63%, 42%)
HSVhsv(237, 77%, 68%)
CMYKcmyk(77%, 73%, 0%, 31.8%)
CIE-LABlab(28.22, 41.68, -67.72)
CIE-LCHlch(28.22, 79.52, 301.61°)
OKLaboklab(39.86% 0.0035 -0.1961)
OKLCHoklch(39.86% 0.196 271)
XYZxyz(9.5290, 5.5391, 40.6031)
Luminance0.0554 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282FAE #AEA728
analogous
#2872AE #282FAE #6428AE
triadic
#282FAE #AE282F #2FAE28
tetradic
#282FAE #AE2872 #AEA728 #28AE64
square
#282FAE #AE2872 #AEA728 #28AE64
split-complementary
#282FAE #AE6428 #72AE28
monochromatic
#11144A #1D227C #282FAE #4048D3 #7278DF

Accessibility & contrast

On white

9.96
#282FAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#282FAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282FAE
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282FAE#FFFFFF#000000##FFFFFF
##282FAE1.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B2
Deuteranopia (green-blind)
#003CAC
Tritanopia (blue-blind)
#00536B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #282fae;
/* rgb */ color: rgb(40, 47, 174);
/* oklch */ color: oklch(39.9% 0.196 271.0);
Tailwind
colors: {
  custom: {
    50: '#7969c7',
    500: '#282fae',
    950: '#000000',
  },
}
SCSS
$custom: #282fae;
$custom-light: #7969c7;
$custom-dark: #000000;
JSON
{
  "hex": "#282fae",
  "rgb": {
    "r": 40,
    "g": 47,
    "b": 174
  },
  "hsl": {
    "h": 236.866,
    "s": 62.617,
    "l": 41.961
  },
  "oklch": {
    "l": 0.39861,
    "c": 0.19609,
    "h": 271
  },
  "luminance": 0.0554
}

Semantic roles & 50–950 ramp

primary
#282FAE
secondary
#C6C16C
accent
#DD42E6
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #282FAE

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

Preview Lab → · Contrast checker → · Palette generator →

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