#283C71#283C71

#283C71 is a dark, moderate blue. Relative luminance 0.049; OKLCH L 36.9% C 0.095 H 266.3°. Best body text is #FFFFFF at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#283C71
RGBrgb(40, 60, 113)
HSLhsl(224, 48%, 30%)
HSVhsv(224, 65%, 44%)
CMYKcmyk(64.6%, 46.9%, 0%, 55.7%)
CIE-LABlab(26.37, 10.40, -33.08)
CIE-LCHlch(26.37, 34.67, 287.45°)
OKLaboklab(36.89% -0.0061 -0.0944)
OKLCHoklch(36.89% 0.095 266.3)
XYZxyz(5.4705, 4.8746, 16.2722)
Luminance0.0488 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283C71 #715D28
analogous
#286071 #283C71 #392871
triadic
#283C71 #71283C #3C7128
tetradic
#283C71 #712860 #715D28 #287139
square
#283C71 #712860 #715D28 #287139
split-complementary
#283C71 #713928 #607128
monochromatic
#080C17 #182444 #283C71 #38549E #5270C2

Accessibility & contrast

On white

10.63
#283C71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#283C71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283C71
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283C71#FFFFFF#000000##FFFFFF
##283C711.0010.631.9810.63
#FFFFFF10.631.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234273
Deuteranopia (green-blind)
#183B70
Tritanopia (blue-blind)
#004851
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #283c71;
/* rgb */ color: rgb(40, 60, 113);
/* oklch */ color: oklch(36.9% 0.095 266.3);
Tailwind
colors: {
  custom: {
    50: '#6a719a',
    500: '#283c71',
    950: '#000000',
  },
}
SCSS
$custom: #283c71;
$custom-light: #6a719a;
$custom-dark: #000000;
JSON
{
  "hex": "#283c71",
  "rgb": {
    "r": 40,
    "g": 60,
    "b": 113
  },
  "hsl": {
    "h": 223.562,
    "s": 47.712,
    "l": 30
  },
  "oklch": {
    "l": 0.36893,
    "c": 0.09457,
    "h": 266.3
  },
  "luminance": 0.04875
}

Semantic roles & 50–950 ramp

primary
#283C71
secondary
#A38D52
accent
#B250D7
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #283C71

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

Preview Lab → · Contrast checker → · Palette generator →

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