#283D80#283D80

#283D80 is a dark, moderate blue. Relative luminance 0.053; OKLCH L 38.2% C 0.116 H 267.6°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#283D80
RGBrgb(40, 61, 128)
HSLhsl(226, 52%, 33%)
HSVhsv(226, 69%, 50%)
CMYKcmyk(68.8%, 52.3%, 0%, 49.8%)
CIE-LABlab(27.70, 15.46, -40.41)
CIE-LCHlch(27.70, 43.27, 290.94°)
OKLaboklab(38.24% -0.0049 -0.1159)
OKLCHoklch(38.24% 0.116 267.6)
XYZxyz(6.4388, 5.3465, 21.1105)
Luminance0.0535 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283D80 #806B28
analogous
#286980 #283D80 #3F2880
triadic
#283D80 #80283D #3D8028
tetradic
#283D80 #802869 #806B28 #28803F
square
#283D80 #802869 #806B28 #28803F
split-complementary
#283D80 #803F28 #698028
monochromatic
#0B1123 #192751 #283D80 #3753AF #5873CB

Accessibility & contrast

On white

10.15
#283D80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #283D80
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283D80#FFFFFF#000000##FFFFFF
##283D801.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164682
Deuteranopia (green-blind)
#003E7F
Tritanopia (blue-blind)
#004D58
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #283d80;
/* rgb */ color: rgb(40, 61, 128);
/* oklch */ color: oklch(38.2% 0.116 267.6);
Tailwind
colors: {
  custom: {
    50: '#6d72a5',
    500: '#283d80',
    950: '#000000',
  },
}
SCSS
$custom: #283d80;
$custom-light: #6d72a5;
$custom-dark: #000000;
JSON
{
  "hex": "#283d80",
  "rgb": {
    "r": 40,
    "g": 61,
    "b": 128
  },
  "hsl": {
    "h": 225.682,
    "s": 52.381,
    "l": 32.941
  },
  "oklch": {
    "l": 0.38235,
    "c": 0.11604,
    "h": 267.6
  },
  "luminance": 0.05347
}

Semantic roles & 50–950 ramp

primary
#283D80
secondary
#B09A54
accent
#B94CDC
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#08070F
muted
#7A7A7F

Preview Lab

Preview with #283D80

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

Preview Lab → · Contrast checker → · Palette generator →

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