#283B8E#283B8E

#283B8E is a dark, vivid blue. Relative luminance 0.055; OKLCH L 38.9% C 0.139 H 269.1°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#283B8E
RGBrgb(40, 59, 142)
HSLhsl(229, 56%, 36%)
HSVhsv(229, 72%, 56%)
CMYKcmyk(71.8%, 58.5%, 0%, 44.3%)
CIE-LABlab(28.20, 22.22, -48.30)
CIE-LCHlch(28.20, 53.17, 294.70°)
OKLaboklab(38.95% -0.0021 -0.1392)
OKLCHoklch(38.95% 0.139 269.1)
XYZxyz(7.3198, 5.5313, 26.2678)
Luminance0.0553 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283B8E #8E7B28
analogous
#286E8E #283B8E #48288E
triadic
#283B8E #8E283B #3B8E28
tetradic
#283B8E #8E286E #8E7B28 #288E48
square
#283B8E #8E286E #8E7B28 #288E48
split-complementary
#283B8E #8E4828 #6E8E28
monochromatic
#0D132F #1B275E #283B8E #354FBE #5F74D2

Accessibility & contrast

On white

9.97
#283B8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#283B8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283B8E
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283B8E#FFFFFF#000000##FFFFFF
##283B8E1.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #283b8e;
/* rgb */ color: rgb(40, 59, 142);
/* oklch */ color: oklch(38.9% 0.139 269.1);
Tailwind
colors: {
  custom: {
    50: '#7070b0',
    500: '#283b8e',
    950: '#000000',
  },
}
SCSS
$custom: #283b8e;
$custom-light: #7070b0;
$custom-dark: #000000;
JSON
{
  "hex": "#283b8e",
  "rgb": {
    "r": 40,
    "g": 59,
    "b": 142
  },
  "hsl": {
    "h": 228.824,
    "s": 56.044,
    "l": 35.686
  },
  "oklch": {
    "l": 0.38947,
    "c": 0.13919,
    "h": 269.1
  },
  "luminance": 0.05532
}

Semantic roles & 50–950 ramp

primary
#283B8E
secondary
#B7A65B
accent
#C348DF
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #283B8E

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

Preview Lab → · Contrast checker → · Palette generator →

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