#283A99#283A99

#283A99 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.7% C 0.156 H 269.6°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#283A99
RGBrgb(40, 58, 153)
HSLhsl(230, 59%, 38%)
HSVhsv(230, 74%, 60%)
CMYKcmyk(73.9%, 62.1%, 0%, 40%)
CIE-LABlab(28.84, 27.08, -54.00)
CIE-LCHlch(28.84, 60.41, 296.63°)
OKLaboklab(39.71% -0.0012 -0.1559)
OKLCHoklch(39.71% 0.156 269.6)
XYZxyz(8.1359, 5.7763, 30.8170)
Luminance0.0578 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283A99 #998728
analogous
#287399 #283A99 #4E2899
triadic
#283A99 #99283A #3A9928
tetradic
#283A99 #992873 #998728 #28994E
square
#283A99 #992873 #998728 #28994E
split-complementary
#283A99 #994E28 #739928
monochromatic
#0F1538 #1B2868 #283A99 #354CCA #6577D7

Accessibility & contrast

On white

9.74
#283A99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#283A99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283A99
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283A99#FFFFFF#000000##FFFFFF
##283A991.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499C
Deuteranopia (green-blind)
#003F97
Tritanopia (blue-blind)
#005264
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #283a99;
/* rgb */ color: rgb(40, 58, 153);
/* oklch */ color: oklch(39.7% 0.156 269.6);
Tailwind
colors: {
  custom: {
    50: '#7370b8',
    500: '#283a99',
    950: '#000000',
  },
}
SCSS
$custom: #283a99;
$custom-light: #7370b8;
$custom-dark: #000000;
JSON
{
  "hex": "#283a99",
  "rgb": {
    "r": 40,
    "g": 58,
    "b": 153
  },
  "hsl": {
    "h": 230.442,
    "s": 58.549,
    "l": 37.843
  },
  "oklch": {
    "l": 0.3971,
    "c": 0.15593,
    "h": 269.6
  },
  "luminance": 0.05777
}

Semantic roles & 50–950 ramp

primary
#283A99
secondary
#BDAE60
accent
#C946E2
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #283A99

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

Preview Lab → · Contrast checker → · Palette generator →

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