#283F7D#283F7D

#283F7D is a dark, moderate blue. Relative luminance 0.055; OKLCH L 38.5% C 0.109 H 266.1°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#283F7D
RGBrgb(40, 63, 125)
HSLhsl(224, 52%, 32%)
HSVhsv(224, 68%, 49%)
CMYKcmyk(68%, 49.6%, 0%, 51%)
CIE-LABlab(28.08, 12.93, -37.93)
CIE-LCHlch(28.08, 40.07, 288.82°)
OKLaboklab(38.46% -0.0074 -0.1086)
OKLCHoklch(38.46% 0.109 266.1)
XYZxyz(6.3530, 5.4862, 20.1222)
Luminance0.0549 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283F7D #7D6628
analogous
#28697D #283F7D #3C287D
triadic
#283F7D #7D283F #3F7D28
tetradic
#283F7D #7D2869 #7D6628 #287D3C
square
#283F7D #7D2869 #7D6628 #287D3C
split-complementary
#283F7D #7D3C28 #697D28
monochromatic
#0A1020 #19284F #283F7D #3756AB #5675C9

Accessibility & contrast

On white

10.01
#283F7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#283F7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283F7D
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283F7D#FFFFFF#000000##FFFFFF
##283F7D1.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F467F
Deuteranopia (green-blind)
#0C3F7C
Tritanopia (blue-blind)
#004D58
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #283f7d;
/* rgb */ color: rgb(40, 63, 125);
/* oklch */ color: oklch(38.5% 0.109 266.1);
Tailwind
colors: {
  custom: {
    50: '#6c73a3',
    500: '#283f7d',
    950: '#000000',
  },
}
SCSS
$custom: #283f7d;
$custom-light: #6c73a3;
$custom-dark: #000000;
JSON
{
  "hex": "#283f7d",
  "rgb": {
    "r": 40,
    "g": 63,
    "b": 125
  },
  "hsl": {
    "h": 223.765,
    "s": 51.515,
    "l": 32.353
  },
  "oklch": {
    "l": 0.38455,
    "c": 0.10884,
    "h": 266.1
  },
  "luminance": 0.05487
}

Semantic roles & 50–950 ramp

primary
#283F7D
secondary
#AE9553
accent
#B54DDB
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #283F7D

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

Preview Lab → · Contrast checker → · Palette generator →

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