#283D7E#283D7E

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

Color values

HEX#283D7E
RGBrgb(40, 61, 126)
HSLhsl(225, 52%, 33%)
HSVhsv(225, 68%, 49%)
CMYKcmyk(68.3%, 51.6%, 0%, 50.6%)
CIE-LABlab(27.56, 14.69, -39.39)
CIE-LCHlch(27.56, 42.04, 290.46°)
OKLaboklab(38.08% -0.0052 -0.1129)
OKLCHoklch(38.08% 0.113 267.4)
XYZxyz(6.3084, 5.2944, 20.4241)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283D7E #7E6928
analogous
#28687E #283D7E #3E287E
triadic
#283D7E #7E283D #3D7E28
tetradic
#283D7E #7E2868 #7E6928 #287E3E
square
#283D7E #7E2868 #7E6928 #287E3E
split-complementary
#283D7E #7E3E28 #687E28
monochromatic
#0B1021 #192750 #283D7E #3753AC #5773CA

Accessibility & contrast

On white

10.20
#283D7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#283D7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283D7E
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283D7E#FFFFFF#000000##FFFFFF
##283D7E1.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194580
Deuteranopia (green-blind)
#013D7D
Tritanopia (blue-blind)
#004C57
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #283d7e;
/* rgb */ color: rgb(40, 61, 126);
/* oklch */ color: oklch(38.1% 0.113 267.4);
Tailwind
colors: {
  custom: {
    50: '#6c72a4',
    500: '#283d7e',
    950: '#000000',
  },
}
SCSS
$custom: #283d7e;
$custom-light: #6c72a4;
$custom-dark: #000000;
JSON
{
  "hex": "#283d7e",
  "rgb": {
    "r": 40,
    "g": 61,
    "b": 126
  },
  "hsl": {
    "h": 225.349,
    "s": 51.807,
    "l": 32.549
  },
  "oklch": {
    "l": 0.38081,
    "c": 0.11304,
    "h": 267.4
  },
  "luminance": 0.05295
}

Semantic roles & 50–950 ramp

primary
#283D7E
secondary
#AF9853
accent
#B84DDB
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #283D7E

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

Preview Lab → · Contrast checker → · Palette generator →

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