#283A80#283A80

#283A80 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.6% C 0.120 H 269.1°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#283A80
RGBrgb(40, 58, 128)
HSLhsl(228, 52%, 33%)
HSVhsv(228, 69%, 50%)
CMYKcmyk(68.8%, 54.7%, 0%, 49.8%)
CIE-LABlab(26.83, 17.54, -41.81)
CIE-LCHlch(26.83, 45.34, 292.76°)
OKLaboklab(37.58% -0.002 -0.1201)
OKLCHoklch(37.58% 0.12 269.1)
XYZxyz(6.2831, 5.0352, 21.0587)
Luminance0.0504 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283A80 #806E28
analogous
#286680 #283A80 #422880
triadic
#283A80 #80283A #3A8028
tetradic
#283A80 #802866 #806E28 #288042
square
#283A80 #802866 #806E28 #288042
split-complementary
#283A80 #804228 #668028
monochromatic
#0B1023 #192551 #283A80 #374FAF #586FCB

Accessibility & contrast

On white

10.46
#283A80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#283A80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283A80
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283A80#FFFFFF#000000##FFFFFF
##283A801.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C4482
Deuteranopia (green-blind)
#003C7F
Tritanopia (blue-blind)
#004B57
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #283a80;
/* rgb */ color: rgb(40, 58, 128);
/* oklch */ color: oklch(37.6% 0.120 269.1);
Tailwind
colors: {
  custom: {
    50: '#6d6fa5',
    500: '#283a80',
    950: '#000000',
  },
}
SCSS
$custom: #283a80;
$custom-light: #6d6fa5;
$custom-dark: #000000;
JSON
{
  "hex": "#283a80",
  "rgb": {
    "r": 40,
    "g": 58,
    "b": 128
  },
  "hsl": {
    "h": 227.727,
    "s": 52.381,
    "l": 32.941
  },
  "oklch": {
    "l": 0.3758,
    "c": 0.12011,
    "h": 269.1
  },
  "luminance": 0.05036
}

Semantic roles & 50–950 ramp

primary
#283A80
secondary
#B09D54
accent
#BE4CDC
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#08070F
muted
#7A7A7F

Preview Lab

Preview with #283A80

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

Preview Lab → · Contrast checker → · Palette generator →

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