#283A8E#283A8E

#283A8E is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.7% C 0.141 H 269.5°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#283A8E
RGBrgb(40, 58, 142)
HSLhsl(229, 56%, 36%)
HSVhsv(229, 72%, 56%)
CMYKcmyk(71.8%, 59.2%, 0%, 44.3%)
CIE-LABlab(27.92, 22.90, -48.74)
CIE-LCHlch(27.92, 53.86, 295.17°)
OKLaboklab(38.74% -0.0012 -0.1405)
OKLCHoklch(38.74% 0.141 269.5)
XYZxyz(7.2689, 5.4295, 26.2509)
Luminance0.0543 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283A8E #8E7C28
analogous
#286D8E #283A8E #49288E
triadic
#283A8E #8E283A #3A8E28
tetradic
#283A8E #8E286D #8E7C28 #288E49
square
#283A8E #8E286D #8E7C28 #288E49
split-complementary
#283A8E #8E4928 #6D8E28
monochromatic
#0D132F #1B265E #283A8E #354EBE #5F73D2

Accessibility & contrast

On white

10.07
#283A8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#283A8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283A8E
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283A8E#FFFFFF#000000##FFFFFF
##283A8E1.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004791
Deuteranopia (green-blind)
#003D8C
Tritanopia (blue-blind)
#004F5E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #283a8e;
/* rgb */ color: rgb(40, 58, 142);
/* oklch */ color: oklch(38.7% 0.141 269.5);
Tailwind
colors: {
  custom: {
    50: '#706fb0',
    500: '#283a8e',
    950: '#000000',
  },
}
SCSS
$custom: #283a8e;
$custom-light: #706fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#283a8e",
  "rgb": {
    "r": 40,
    "g": 58,
    "b": 142
  },
  "hsl": {
    "h": 229.412,
    "s": 56.044,
    "l": 35.686
  },
  "oklch": {
    "l": 0.38743,
    "c": 0.1405,
    "h": 269.5
  },
  "luminance": 0.0543
}

Semantic roles & 50–950 ramp

primary
#283A8E
secondary
#B7A75B
accent
#C548DF
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #283A8E

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

Preview Lab → · Contrast checker → · Palette generator →

#283A8E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva