#282A90#282A90

#282A90 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.0% C 0.163 H 273.7°. Best body text is #FFFFFF at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#282A90
RGBrgb(40, 42, 144)
HSLhsl(239, 57%, 36%)
HSVhsv(239, 72%, 56%)
CMYKcmyk(72.2%, 70.8%, 0%, 43.5%)
CIE-LABlab(24.06, 34.22, -56.30)
CIE-LCHlch(24.06, 65.88, 301.29°)
OKLaboklab(35.96% 0.0105 -0.1627)
OKLCHoklch(35.96% 0.163 273.7)
XYZxyz(6.7354, 4.1200, 26.8204)
Luminance0.0412 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282A90 #908E28
analogous
#285E90 #282A90 #5A2890
triadic
#282A90 #90282A #2A9028
tetradic
#282A90 #90285E #908E28 #28905A
square
#282A90 #90285E #908E28 #28905A
split-complementary
#282A90 #905A28 #5E9028
monochromatic
#0D0E30 #1B1C60 #282A90 #3538C0 #6062D3

Accessibility & contrast

On white

11.51
#282A90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#282A90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282A90
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282A90#FFFFFF#000000##FFFFFF
##282A901.0011.511.8211.51
#FFFFFF11.511.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E93
Deuteranopia (green-blind)
#00348E
Tritanopia (blue-blind)
#004659
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #282a90;
/* rgb */ color: rgb(40, 42, 144);
/* oklch */ color: oklch(36.0% 0.163 273.7);
Tailwind
colors: {
  custom: {
    50: '#7264b2',
    500: '#282a90',
    950: '#000000',
  },
}
SCSS
$custom: #282a90;
$custom-light: #7264b2;
$custom-dark: #000000;
JSON
{
  "hex": "#282a90",
  "rgb": {
    "r": 40,
    "g": 42,
    "b": 144
  },
  "hsl": {
    "h": 238.846,
    "s": 56.522,
    "l": 36.078
  },
  "oklch": {
    "l": 0.35964,
    "c": 0.16308,
    "h": 273.7
  },
  "luminance": 0.04121
}

Semantic roles & 50–950 ramp

primary
#282A90
secondary
#B8B65C
accent
#DD48E0
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #282A90

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

Preview Lab → · Contrast checker → · Palette generator →

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