#283B71#283B71

#283B71 is a dark, moderate blue. Relative luminance 0.048; OKLCH L 36.7% C 0.096 H 267.0°. Best body text is #FFFFFF at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#283B71
RGBrgb(40, 59, 113)
HSLhsl(224, 48%, 30%)
HSVhsv(224, 65%, 44%)
CMYKcmyk(64.6%, 47.8%, 0%, 55.7%)
CIE-LABlab(26.07, 11.09, -33.56)
CIE-LCHlch(26.07, 35.35, 288.29°)
OKLaboklab(36.66% -0.005 -0.0958)
OKLCHoklch(36.66% 0.096 267)
XYZxyz(5.4187, 4.7708, 16.2549)
Luminance0.0477 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283B71 #715E28
analogous
#285F71 #283B71 #3A2871
triadic
#283B71 #71283B #3B7128
tetradic
#283B71 #71285F #715E28 #28713A
square
#283B71 #71285F #715E28 #28713A
split-complementary
#283B71 #713A28 #5F7128
monochromatic
#080C17 #182344 #283B71 #38539E #526FC2

Accessibility & contrast

On white

10.75
#283B71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#283B71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283B71
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283B71#FFFFFF#000000##FFFFFF
##283B711.0010.751.9510.75
#FFFFFF10.751.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214173
Deuteranopia (green-blind)
#163B70
Tritanopia (blue-blind)
#004750
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #283b71;
/* rgb */ color: rgb(40, 59, 113);
/* oklch */ color: oklch(36.7% 0.096 267.0);
Tailwind
colors: {
  custom: {
    50: '#6a709a',
    500: '#283b71',
    950: '#000000',
  },
}
SCSS
$custom: #283b71;
$custom-light: #6a709a;
$custom-dark: #000000;
JSON
{
  "hex": "#283b71",
  "rgb": {
    "r": 40,
    "g": 59,
    "b": 113
  },
  "hsl": {
    "h": 224.384,
    "s": 47.712,
    "l": 30
  },
  "oklch": {
    "l": 0.36661,
    "c": 0.09594,
    "h": 267
  },
  "luminance": 0.04771
}

Semantic roles & 50–950 ramp

primary
#283B71
secondary
#A38E52
accent
#B450D7
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #283B71

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

Preview Lab → · Contrast checker → · Palette generator →

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