#283A89#283A89

#283A89 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.3% C 0.133 H 269.4°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#283A89
RGBrgb(40, 58, 137)
HSLhsl(229, 55%, 35%)
HSVhsv(229, 71%, 54%)
CMYKcmyk(70.8%, 57.7%, 0%, 46.3%)
CIE-LABlab(27.53, 20.99, -46.30)
CIE-LCHlch(27.53, 50.84, 294.39°)
OKLaboklab(38.32% -0.0014 -0.1333)
OKLCHoklch(38.32% 0.133 269.4)
XYZxyz(6.9019, 5.2827, 24.3180)
Luminance0.0528 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283A89 #897728
analogous
#286B89 #283A89 #472889
triadic
#283A89 #89283A #3A8928
tetradic
#283A89 #89286B #897728 #288947
square
#283A89 #89286B #897728 #288947
split-complementary
#283A89 #894728 #6B8928
monochromatic
#0C122A #1A265A #283A89 #364EB8 #5C71CF

Accessibility & contrast

On white

10.21
#283A89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#283A89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283A89
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283A89#FFFFFF#000000##FFFFFF
##283A891.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468C
Deuteranopia (green-blind)
#003D87
Tritanopia (blue-blind)
#004D5B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #283a89;
/* rgb */ color: rgb(40, 58, 137);
/* oklch */ color: oklch(38.3% 0.133 269.4);
Tailwind
colors: {
  custom: {
    50: '#6f6fac',
    500: '#283a89',
    950: '#000000',
  },
}
SCSS
$custom: #283a89;
$custom-light: #6f6fac;
$custom-dark: #000000;
JSON
{
  "hex": "#283a89",
  "rgb": {
    "r": 40,
    "g": 58,
    "b": 137
  },
  "hsl": {
    "h": 228.866,
    "s": 54.802,
    "l": 34.706
  },
  "oklch": {
    "l": 0.38318,
    "c": 0.13331,
    "h": 269.4
  },
  "luminance": 0.05283
}

Semantic roles & 50–950 ramp

primary
#283A89
secondary
#B5A358
accent
#C34ADE
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #283A89

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

Preview Lab → · Contrast checker → · Palette generator →

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