#283D74#283D74

#283D74 is a dark, moderate blue. Relative luminance 0.051; OKLCH L 37.3% C 0.098 H 266.1°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#283D74
RGBrgb(40, 61, 116)
HSLhsl(223, 49%, 31%)
HSVhsv(223, 66%, 45%)
CMYKcmyk(65.5%, 47.4%, 0%, 54.5%)
CIE-LABlab(26.87, 10.85, -34.18)
CIE-LCHlch(26.87, 35.86, 287.61°)
OKLaboklab(37.34% -0.0067 -0.0976)
OKLCHoklch(37.34% 0.098 266.1)
XYZxyz(5.6951, 5.0491, 17.1940)
Luminance0.0505 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283D74 #745F28
analogous
#286374 #283D74 #392874
triadic
#283D74 #74283D #3D7428
tetradic
#283D74 #742863 #745F28 #287439
square
#283D74 #742863 #745F28 #287439
split-complementary
#283D74 #743928 #637428
monochromatic
#090D19 #182546 #283D74 #3855A2 #5372C4

Accessibility & contrast

On white

10.45
#283D74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#283D74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283D74
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283D74#FFFFFF#000000##FFFFFF
##283D741.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234376
Deuteranopia (green-blind)
#163C73
Tritanopia (blue-blind)
#004A53
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #283d74;
/* rgb */ color: rgb(40, 61, 116);
/* oklch */ color: oklch(37.3% 0.098 266.1);
Tailwind
colors: {
  custom: {
    50: '#6a729c',
    500: '#283d74',
    950: '#000000',
  },
}
SCSS
$custom: #283d74;
$custom-light: #6a729c;
$custom-dark: #000000;
JSON
{
  "hex": "#283d74",
  "rgb": {
    "r": 40,
    "g": 61,
    "b": 116
  },
  "hsl": {
    "h": 223.421,
    "s": 48.718,
    "l": 30.588
  },
  "oklch": {
    "l": 0.3734,
    "c": 0.09784,
    "h": 266.1
  },
  "luminance": 0.0505
}

Semantic roles & 50–950 ramp

primary
#283D74
secondary
#A68F52
accent
#B250D8
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #283D74

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

Preview Lab → · Contrast checker → · Palette generator →

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