#283E7B#283E7B

#283E7B is a dark, moderate blue. Relative luminance 0.053; OKLCH L 38.1% C 0.107 H 266.5°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#283E7B
RGBrgb(40, 62, 123)
HSLhsl(224, 51%, 32%)
HSVhsv(224, 67%, 48%)
CMYKcmyk(67.5%, 49.6%, 0%, 51.8%)
CIE-LABlab(27.64, 12.85, -37.37)
CIE-LCHlch(27.64, 39.51, 288.97°)
OKLaboklab(38.08% -0.0066 -0.107)
OKLCHoklch(38.08% 0.107 266.5)
XYZxyz(6.1716, 5.3259, 19.4378)
Luminance0.0533 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283E7B #7B6528
analogous
#28687B #283E7B #3B287B
triadic
#283E7B #7B283E #3E7B28
tetradic
#283E7B #7B2868 #7B6528 #287B3B
square
#283E7B #7B2868 #7B6528 #287B3B
split-complementary
#283E7B #7B3B28 #687B28
monochromatic
#0A0F1F #19274D #283E7B #3755A9 #5674C8

Accessibility & contrast

On white

10.17
#283E7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #283E7B
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283E7B#FFFFFF#000000##FFFFFF
##283E7B1.0010.172.0710.17
#FFFFFF10.171.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F457D
Deuteranopia (green-blind)
#0D3E7A
Tritanopia (blue-blind)
#004C56
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #283e7b;
/* rgb */ color: rgb(40, 62, 123);
/* oklch */ color: oklch(38.1% 0.107 266.5);
Tailwind
colors: {
  custom: {
    50: '#6c72a2',
    500: '#283e7b',
    950: '#000000',
  },
}
SCSS
$custom: #283e7b;
$custom-light: #6c72a2;
$custom-dark: #000000;
JSON
{
  "hex": "#283e7b",
  "rgb": {
    "r": 40,
    "g": 62,
    "b": 123
  },
  "hsl": {
    "h": 224.096,
    "s": 50.92,
    "l": 31.961
  },
  "oklch": {
    "l": 0.3808,
    "c": 0.10717,
    "h": 266.5
  },
  "luminance": 0.05326
}

Semantic roles & 50–950 ramp

primary
#283E7B
secondary
#AD9552
accent
#B54DDA
background
#F6F6FA
surface
#ECECF3
border
#C7C7CD
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #283E7B

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

Preview Lab → · Contrast checker → · Palette generator →

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