#283A97#283A97

#283A97 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.5% C 0.153 H 269.6°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#283A97
RGBrgb(40, 58, 151)
HSLhsl(230, 58%, 37%)
HSVhsv(230, 74%, 59%)
CMYKcmyk(73.5%, 61.6%, 0%, 40.8%)
CIE-LABlab(28.67, 26.32, -53.06)
CIE-LCHlch(28.67, 59.23, 296.39°)
OKLaboklab(39.53% -0.0011 -0.1532)
OKLCHoklch(39.53% 0.153 269.6)
XYZxyz(7.9721, 5.7108, 29.9543)
Luminance0.0571 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283A97 #978528
analogous
#287297 #283A97 #4D2897
triadic
#283A97 #97283A #3A9728
tetradic
#283A97 #972872 #978528 #28974D
square
#283A97 #972872 #978528 #28974D
split-complementary
#283A97 #974D28 #729728
monochromatic
#0E1536 #1B2767 #283A97 #354DC7 #6476D6

Accessibility & contrast

On white

9.80
#283A97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#283A97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283A97
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283A97#FFFFFF#000000##FFFFFF
##283A971.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499A
Deuteranopia (green-blind)
#003F95
Tritanopia (blue-blind)
#005262
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #283a97;
/* rgb */ color: rgb(40, 58, 151);
/* oklch */ color: oklch(39.5% 0.153 269.6);
Tailwind
colors: {
  custom: {
    50: '#7270b6',
    500: '#283a97',
    950: '#000000',
  },
}
SCSS
$custom: #283a97;
$custom-light: #7270b6;
$custom-dark: #000000;
JSON
{
  "hex": "#283a97",
  "rgb": {
    "r": 40,
    "g": 58,
    "b": 151
  },
  "hsl": {
    "h": 230.27,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.39531,
    "c": 0.15316,
    "h": 269.6
  },
  "luminance": 0.05712
}

Semantic roles & 50–950 ramp

primary
#283A97
secondary
#BCAD5F
accent
#C846E1
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #283A97

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

Preview Lab → · Contrast checker → · Palette generator →

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