#283C7D#283C7D

#283C7D is a dark, moderate blue. Relative luminance 0.052; OKLCH L 37.8% C 0.113 H 267.8°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#283C7D
RGBrgb(40, 60, 125)
HSLhsl(226, 52%, 32%)
HSVhsv(226, 68%, 49%)
CMYKcmyk(68%, 52%, 0%, 51%)
CIE-LABlab(27.19, 15.00, -39.35)
CIE-LCHlch(27.19, 42.11, 290.87°)
OKLaboklab(37.78% -0.0043 -0.1128)
OKLCHoklch(37.78% 0.113 267.8)
XYZxyz(6.1913, 5.1629, 20.0683)
Luminance0.0516 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283C7D #7D6928
analogous
#28677D #283C7D #3E287D
triadic
#283C7D #7D283C #3C7D28
tetradic
#283C7D #7D2867 #7D6928 #287D3E
square
#283C7D #7D2867 #7D6928 #287D3E
split-complementary
#283C7D #7D3E28 #677D28
monochromatic
#0A0F20 #19264F #283C7D #3752AB #5671C9

Accessibility & contrast

On white

10.33
#283C7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#283C7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283C7D
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283C7D#FFFFFF#000000##FFFFFF
##283C7D1.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17447F
Deuteranopia (green-blind)
#003D7C
Tritanopia (blue-blind)
#004B56
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #283c7d;
/* rgb */ color: rgb(40, 60, 125);
/* oklch */ color: oklch(37.8% 0.113 267.8);
Tailwind
colors: {
  custom: {
    50: '#6c71a3',
    500: '#283c7d',
    950: '#000000',
  },
}
SCSS
$custom: #283c7d;
$custom-light: #6c71a3;
$custom-dark: #000000;
JSON
{
  "hex": "#283c7d",
  "rgb": {
    "r": 40,
    "g": 60,
    "b": 125
  },
  "hsl": {
    "h": 225.882,
    "s": 51.515,
    "l": 32.353
  },
  "oklch": {
    "l": 0.37782,
    "c": 0.11289,
    "h": 267.8
  },
  "luminance": 0.05164
}

Semantic roles & 50–950 ramp

primary
#283C7D
secondary
#AE9953
accent
#BA4DDB
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #283C7D

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

Preview Lab → · Contrast checker → · Palette generator →

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