#282A99#282A99

#282A99 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.9% C 0.175 H 273.0°. Best body text is #FFFFFF at 11.16:1 contrast (WCAG AA passes).

Color values

HEX#282A99
RGBrgb(40, 42, 153)
HSLhsl(239, 59%, 38%)
HSVhsv(239, 74%, 60%)
CMYKcmyk(73.9%, 72.5%, 0%, 40%)
CIE-LABlab(24.97, 37.39, -60.35)
CIE-LCHlch(24.97, 70.99, 301.78°)
OKLaboklab(36.89% 0.0092 -0.1746)
OKLCHoklch(36.89% 0.175 273)
XYZxyz(7.4509, 4.4062, 30.5886)
Luminance0.0441 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282A99 #999728
analogous
#286299 #282A99 #5E2899
triadic
#282A99 #99282A #2A9928
tetradic
#282A99 #992862 #999728 #28995E
square
#282A99 #992862 #999728 #28995E
split-complementary
#282A99 #995E28 #629928
monochromatic
#0F0F38 #1B1D68 #282A99 #3537CA #6567D7

Accessibility & contrast

On white

11.16
#282A99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #282A99
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282A99#FFFFFF#000000##FFFFFF
##282A991.0011.161.8811.16
#FFFFFF11.161.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419C
Deuteranopia (green-blind)
#003697
Tritanopia (blue-blind)
#00495E
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #282a99;
/* rgb */ color: rgb(40, 42, 153);
/* oklch */ color: oklch(36.9% 0.175 273.0);
Tailwind
colors: {
  custom: {
    50: '#7464b8',
    500: '#282a99',
    950: '#000000',
  },
}
SCSS
$custom: #282a99;
$custom-light: #7464b8;
$custom-dark: #000000;
JSON
{
  "hex": "#282a99",
  "rgb": {
    "r": 40,
    "g": 42,
    "b": 153
  },
  "hsl": {
    "h": 238.938,
    "s": 58.549,
    "l": 37.843
  },
  "oklch": {
    "l": 0.36889,
    "c": 0.17481,
    "h": 273
  },
  "luminance": 0.04407
}

Semantic roles & 50–950 ramp

primary
#282A99
secondary
#BDBB60
accent
#DF46E2
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0511
muted
#7C7A80

Preview Lab

Preview with #282A99

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

Preview Lab → · Contrast checker → · Palette generator →

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