#283F81#283F81

#283F81 is a dark, moderate blue. Relative luminance 0.056; OKLCH L 38.8% C 0.115 H 266.6°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#283F81
RGBrgb(40, 63, 129)
HSLhsl(224, 53%, 33%)
HSVhsv(224, 69%, 51%)
CMYKcmyk(69%, 51.2%, 0%, 49.4%)
CIE-LABlab(28.35, 14.47, -39.98)
CIE-LCHlch(28.35, 42.52, 289.90°)
OKLaboklab(38.76% -0.0068 -0.1146)
OKLCHoklch(38.76% 0.115 266.6)
XYZxyz(6.6137, 5.5905, 21.4952)
Luminance0.0559 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283F81 #816A28
analogous
#286B81 #283F81 #3D2881
triadic
#283F81 #81283F #3F8128
tetradic
#283F81 #81286B #816A28 #28813D
square
#283F81 #81286B #816A28 #28813D
split-complementary
#283F81 #813D28 #6B8128
monochromatic
#0B1124 #1A2852 #283F81 #3656B0 #5876CB

Accessibility & contrast

On white

9.91
#283F81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#283F81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283F81
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283F81#FFFFFF#000000##FFFFFF
##283F811.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4783
Deuteranopia (green-blind)
#023F80
Tritanopia (blue-blind)
#004E5A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #283f81;
/* rgb */ color: rgb(40, 63, 129);
/* oklch */ color: oklch(38.8% 0.115 266.6);
Tailwind
colors: {
  custom: {
    50: '#6d73a6',
    500: '#283f81',
    950: '#000000',
  },
}
SCSS
$custom: #283f81;
$custom-light: #6d73a6;
$custom-dark: #000000;
JSON
{
  "hex": "#283f81",
  "rgb": {
    "r": 40,
    "g": 63,
    "b": 129
  },
  "hsl": {
    "h": 224.494,
    "s": 52.663,
    "l": 33.137
  },
  "oklch": {
    "l": 0.38755,
    "c": 0.11483,
    "h": 266.6
  },
  "luminance": 0.05591
}

Semantic roles & 50–950 ramp

primary
#283F81
secondary
#B09954
accent
#B74CDC
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #283F81

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

Preview Lab → · Contrast checker → · Palette generator →

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