#283D7B#283D7B

#283D7B is a dark, moderate blue. Relative luminance 0.052; OKLCH L 37.9% C 0.109 H 267.1°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#283D7B
RGBrgb(40, 61, 123)
HSLhsl(225, 51%, 32%)
HSVhsv(225, 67%, 48%)
CMYKcmyk(67.5%, 50.4%, 0%, 51.8%)
CIE-LABlab(27.35, 13.54, -37.84)
CIE-LCHlch(27.35, 40.19, 289.68°)
OKLaboklab(37.85% -0.0056 -0.1084)
OKLCHoklch(37.85% 0.109 267.1)
XYZxyz(6.1177, 5.2181, 19.4198)
Luminance0.0522 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283D7B #7B6628
analogous
#28677B #283D7B #3D287B
triadic
#283D7B #7B283D #3D7B28
tetradic
#283D7B #7B2867 #7B6628 #287B3D
square
#283D7B #7B2867 #7B6628 #287B3D
split-complementary
#283D7B #7B3D28 #677B28
monochromatic
#0A0F1F #19264D #283D7B #3754A9 #5672C8

Accessibility & contrast

On white

10.27
#283D7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#283D7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283D7B
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283D7B#FFFFFF#000000##FFFFFF
##283D7B1.0010.272.0410.27
#FFFFFF10.271.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C457D
Deuteranopia (green-blind)
#093D7A
Tritanopia (blue-blind)
#004B56
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #283d7b;
/* rgb */ color: rgb(40, 61, 123);
/* oklch */ color: oklch(37.9% 0.109 267.1);
Tailwind
colors: {
  custom: {
    50: '#6c72a2',
    500: '#283d7b',
    950: '#000000',
  },
}
SCSS
$custom: #283d7b;
$custom-light: #6c72a2;
$custom-dark: #000000;
JSON
{
  "hex": "#283d7b",
  "rgb": {
    "r": 40,
    "g": 61,
    "b": 123
  },
  "hsl": {
    "h": 224.819,
    "s": 50.92,
    "l": 31.961
  },
  "oklch": {
    "l": 0.37854,
    "c": 0.10851,
    "h": 267.1
  },
  "luminance": 0.05219
}

Semantic roles & 50–950 ramp

primary
#283D7B
secondary
#AD9652
accent
#B74DDA
background
#F6F6FA
surface
#ECECF3
border
#C7C7CD
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #283D7B

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

Preview Lab → · Contrast checker → · Palette generator →

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