#283C7B#283C7B

#283C7B is a dark, moderate blue. Relative luminance 0.051; OKLCH L 37.6% C 0.110 H 267.6°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#283C7B
RGBrgb(40, 60, 123)
HSLhsl(226, 51%, 32%)
HSVhsv(226, 67%, 48%)
CMYKcmyk(67.5%, 51.2%, 0%, 51.8%)
CIE-LABlab(27.05, 14.23, -38.32)
CIE-LCHlch(27.05, 40.87, 290.38°)
OKLaboklab(37.63% -0.0045 -0.1098)
OKLCHoklch(37.63% 0.11 267.6)
XYZxyz(6.0649, 5.1123, 19.4022)
Luminance0.0511 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283C7B #7B6728
analogous
#28667B #283C7B #3E287B
triadic
#283C7B #7B283C #3C7B28
tetradic
#283C7B #7B2866 #7B6728 #287B3E
square
#283C7B #7B2866 #7B6728 #287B3E
split-complementary
#283C7B #7B3E28 #667B28
monochromatic
#0A0F1F #19254D #283C7B #3753A9 #5671C8

Accessibility & contrast

On white

10.38
#283C7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#283C7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283C7B
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283C7B#FFFFFF#000000##FFFFFF
##283C7B1.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A447D
Deuteranopia (green-blind)
#053C7A
Tritanopia (blue-blind)
#004B55
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #283c7b;
/* rgb */ color: rgb(40, 60, 123);
/* oklch */ color: oklch(37.6% 0.110 267.6);
Tailwind
colors: {
  custom: {
    50: '#6c71a2',
    500: '#283c7b',
    950: '#000000',
  },
}
SCSS
$custom: #283c7b;
$custom-light: #6c71a2;
$custom-dark: #000000;
JSON
{
  "hex": "#283c7b",
  "rgb": {
    "r": 40,
    "g": 60,
    "b": 123
  },
  "hsl": {
    "h": 225.542,
    "s": 50.92,
    "l": 31.961
  },
  "oklch": {
    "l": 0.37629,
    "c": 0.10988,
    "h": 267.6
  },
  "luminance": 0.05113
}

Semantic roles & 50–950 ramp

primary
#283C7B
secondary
#AD9752
accent
#B84DDA
background
#F6F6FA
surface
#ECECF3
border
#C7C7CD
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #283C7B

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

Preview Lab → · Contrast checker → · Palette generator →

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