#283A72#283A72

#283A72 is a dark, moderate blue. Relative luminance 0.047; OKLCH L 36.5% C 0.099 H 267.9°. Best body text is #FFFFFF at 10.83:1 contrast (WCAG AA passes).

Color values

HEX#283A72
RGBrgb(40, 58, 114)
HSLhsl(225, 48%, 30%)
HSVhsv(225, 65%, 45%)
CMYKcmyk(64.9%, 49.1%, 0%, 55.3%)
CIE-LABlab(25.84, 12.17, -34.57)
CIE-LCHlch(25.84, 36.65, 289.39°)
OKLaboklab(36.5% -0.0037 -0.0988)
OKLCHoklch(36.5% 0.099 267.9)
XYZxyz(5.4244, 4.6917, 16.5361)
Luminance0.0469 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283A72 #726028
analogous
#285F72 #283A72 #3B2872
triadic
#283A72 #72283A #3A7228
tetradic
#283A72 #72285F #726028 #28723B
square
#283A72 #72285F #726028 #28723B
split-complementary
#283A72 #723B28 #5F7228
monochromatic
#080C17 #182345 #283A72 #38519F #526DC2

Accessibility & contrast

On white

10.83
#283A72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#283A72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283A72
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283A72#FFFFFF#000000##FFFFFF
##283A721.0010.831.9410.83
#FFFFFF10.831.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4174
Deuteranopia (green-blind)
#123A71
Tritanopia (blue-blind)
#004750
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #283a72;
/* rgb */ color: rgb(40, 58, 114);
/* oklch */ color: oklch(36.5% 0.099 267.9);
Tailwind
colors: {
  custom: {
    50: '#6a6f9b',
    500: '#283a72',
    950: '#000000',
  },
}
SCSS
$custom: #283a72;
$custom-light: #6a6f9b;
$custom-dark: #000000;
JSON
{
  "hex": "#283a72",
  "rgb": {
    "r": 40,
    "g": 58,
    "b": 114
  },
  "hsl": {
    "h": 225.405,
    "s": 48.052,
    "l": 30.196
  },
  "oklch": {
    "l": 0.36504,
    "c": 0.09887,
    "h": 267.9
  },
  "luminance": 0.04692
}

Semantic roles & 50–950 ramp

primary
#283A72
secondary
#A49052
accent
#B750D8
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #283A72

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

Preview Lab → · Contrast checker → · Palette generator →

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