#283D71#283D71

#283D71 is a dark, moderate blue. Relative luminance 0.050; OKLCH L 37.1% C 0.093 H 265.6°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#283D71
RGBrgb(40, 61, 113)
HSLhsl(223, 48%, 30%)
HSVhsv(223, 65%, 44%)
CMYKcmyk(64.6%, 46%, 0%, 55.7%)
CIE-LABlab(26.68, 9.71, -32.59)
CIE-LCHlch(26.68, 34.00, 286.59°)
OKLaboklab(37.13% -0.0072 -0.0929)
OKLCHoklch(37.13% 0.093 265.6)
XYZxyz(5.5234, 4.9804, 16.2898)
Luminance0.0498 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283D71 #715C28
analogous
#286171 #283D71 #382871
triadic
#283D71 #71283D #3D7128
tetradic
#283D71 #712861 #715C28 #287138
square
#283D71 #712861 #715C28 #287138
split-complementary
#283D71 #713828 #617128
monochromatic
#080C17 #182544 #283D71 #38559E #5272C2

Accessibility & contrast

On white

10.52
#283D71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#283D71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283D71
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283D71#FFFFFF#000000##FFFFFF
##283D711.0010.522.0010.52
#FFFFFF10.521.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254373
Deuteranopia (green-blind)
#1A3C70
Tritanopia (blue-blind)
#004951
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #283d71;
/* rgb */ color: rgb(40, 61, 113);
/* oklch */ color: oklch(37.1% 0.093 265.6);
Tailwind
colors: {
  custom: {
    50: '#6a729a',
    500: '#283d71',
    950: '#000000',
  },
}
SCSS
$custom: #283d71;
$custom-light: #6a729a;
$custom-dark: #000000;
JSON
{
  "hex": "#283d71",
  "rgb": {
    "r": 40,
    "g": 61,
    "b": 113
  },
  "hsl": {
    "h": 222.74,
    "s": 47.712,
    "l": 30
  },
  "oklch": {
    "l": 0.37127,
    "c": 0.09321,
    "h": 265.6
  },
  "luminance": 0.04981
}

Semantic roles & 50–950 ramp

primary
#283D71
secondary
#A38C52
accent
#B150D7
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #283D71

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

Preview Lab → · Contrast checker → · Palette generator →

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