#283D81#283D81

#283D81 is a dark, moderate blue. Relative luminance 0.054; OKLCH L 38.3% C 0.118 H 267.6°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#283D81
RGBrgb(40, 61, 129)
HSLhsl(226, 53%, 33%)
HSVhsv(226, 69%, 51%)
CMYKcmyk(69%, 52.7%, 0%, 49.4%)
CIE-LABlab(27.77, 15.85, -40.92)
CIE-LCHlch(27.77, 43.88, 291.17°)
OKLaboklab(38.31% -0.0048 -0.1174)
OKLCHoklch(38.31% 0.118 267.6)
XYZxyz(6.5049, 5.3730, 21.4589)
Luminance0.0537 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283D81 #816C28
analogous
#286981 #283D81 #3F2881
triadic
#283D81 #81283D #3D8128
tetradic
#283D81 #812869 #816C28 #28813F
square
#283D81 #812869 #816C28 #28813F
split-complementary
#283D81 #813F28 #698128
monochromatic
#0B1124 #1A2752 #283D81 #3653B0 #5873CB

Accessibility & contrast

On white

10.12
#283D81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#283D81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283D81
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283D81#FFFFFF#000000##FFFFFF
##283D811.0010.122.0710.12
#FFFFFF10.121.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154683
Deuteranopia (green-blind)
#003E80
Tritanopia (blue-blind)
#004D59
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #283d81;
/* rgb */ color: rgb(40, 61, 129);
/* oklch */ color: oklch(38.3% 0.118 267.6);
Tailwind
colors: {
  custom: {
    50: '#6d72a6',
    500: '#283d81',
    950: '#000000',
  },
}
SCSS
$custom: #283d81;
$custom-light: #6d72a6;
$custom-dark: #000000;
JSON
{
  "hex": "#283d81",
  "rgb": {
    "r": 40,
    "g": 61,
    "b": 129
  },
  "hsl": {
    "h": 225.843,
    "s": 52.663,
    "l": 33.137
  },
  "oklch": {
    "l": 0.38313,
    "c": 0.11753,
    "h": 267.6
  },
  "luminance": 0.05374
}

Semantic roles & 50–950 ramp

primary
#283D81
secondary
#B09B54
accent
#BA4CDC
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#08070F
muted
#7A7A7F

Preview Lab

Preview with #283D81

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

Preview Lab → · Contrast checker → · Palette generator →

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