#283D72#283D72

#283D72 is a dark, moderate blue. Relative luminance 0.050; OKLCH L 37.2% C 0.095 H 265.7°. Best body text is #FFFFFF at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#283D72
RGBrgb(40, 61, 114)
HSLhsl(223, 48%, 30%)
HSVhsv(223, 65%, 45%)
CMYKcmyk(64.9%, 46.5%, 0%, 55.3%)
CIE-LABlab(26.74, 10.09, -33.12)
CIE-LCHlch(26.74, 34.62, 286.94°)
OKLaboklab(37.2% -0.007 -0.0945)
OKLCHoklch(37.2% 0.095 265.7)
XYZxyz(5.5800, 5.0030, 16.5879)
Luminance0.0500 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283D72 #725D28
analogous
#286272 #283D72 #382872
triadic
#283D72 #72283D #3D7228
tetradic
#283D72 #722862 #725D28 #287238
square
#283D72 #722862 #725D28 #287238
split-complementary
#283D72 #723828 #627228
monochromatic
#080D17 #182545 #283D72 #38559F #5272C2

Accessibility & contrast

On white

10.50
#283D72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#283D72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283D72
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283D72#FFFFFF#000000##FFFFFF
##283D721.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244374
Deuteranopia (green-blind)
#193C71
Tritanopia (blue-blind)
#004952
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #283d72;
/* rgb */ color: rgb(40, 61, 114);
/* oklch */ color: oklch(37.2% 0.095 265.7);
Tailwind
colors: {
  custom: {
    50: '#6a729b',
    500: '#283d72',
    950: '#000000',
  },
}
SCSS
$custom: #283d72;
$custom-light: #6a729b;
$custom-dark: #000000;
JSON
{
  "hex": "#283d72",
  "rgb": {
    "r": 40,
    "g": 61,
    "b": 114
  },
  "hsl": {
    "h": 222.973,
    "s": 48.052,
    "l": 30.196
  },
  "oklch": {
    "l": 0.37197,
    "c": 0.09476,
    "h": 265.7
  },
  "luminance": 0.05004
}

Semantic roles & 50–950 ramp

primary
#283D72
secondary
#A48D52
accent
#B150D8
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #283D72

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

Preview Lab → · Contrast checker → · Palette generator →

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