#283A86#283A86

#283A86 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.1% C 0.129 H 269.3°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#283A86
RGBrgb(40, 58, 134)
HSLhsl(229, 54%, 34%)
HSVhsv(229, 70%, 53%)
CMYKcmyk(70.1%, 56.7%, 0%, 47.5%)
CIE-LABlab(27.29, 19.84, -44.82)
CIE-LCHlch(27.29, 49.01, 293.88°)
OKLaboklab(38.07% -0.0015 -0.1289)
OKLCHoklch(38.07% 0.129 269.3)
XYZxyz(6.6897, 5.1978, 23.2004)
Luminance0.0520 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283A86 #867428
analogous
#286986 #283A86 #452886
triadic
#283A86 #86283A #3A8628
tetradic
#283A86 #862869 #867428 #288645
square
#283A86 #862869 #867428 #288645
split-complementary
#283A86 #864528 #698628
monochromatic
#0C1128 #1A2657 #283A86 #364EB5 #5B71CE

Accessibility & contrast

On white

10.30
#283A86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#283A86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283A86
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283A86#FFFFFF#000000##FFFFFF
##283A861.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004589
Deuteranopia (green-blind)
#003C84
Tritanopia (blue-blind)
#004C5A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #283a86;
/* rgb */ color: rgb(40, 58, 134);
/* oklch */ color: oklch(38.1% 0.129 269.3);
Tailwind
colors: {
  custom: {
    50: '#6e6faa',
    500: '#283a86',
    950: '#000000',
  },
}
SCSS
$custom: #283a86;
$custom-light: #6e6faa;
$custom-dark: #000000;
JSON
{
  "hex": "#283a86",
  "rgb": {
    "r": 40,
    "g": 58,
    "b": 134
  },
  "hsl": {
    "h": 228.511,
    "s": 54.023,
    "l": 34.118
  },
  "oklch": {
    "l": 0.38068,
    "c": 0.12895,
    "h": 269.3
  },
  "luminance": 0.05198
}

Semantic roles & 50–950 ramp

primary
#283A86
secondary
#B3A157
accent
#C14ADD
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #283A86

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

Preview Lab → · Contrast checker → · Palette generator →

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