#283A71#283A71

#283A71 is a dark, moderate blue. Relative luminance 0.047; OKLCH L 36.4% C 0.097 H 267.8°. Best body text is #FFFFFF at 10.86:1 contrast (WCAG AA passes).

Color values

HEX#283A71
RGBrgb(40, 58, 113)
HSLhsl(225, 48%, 30%)
HSVhsv(225, 65%, 44%)
CMYKcmyk(64.6%, 48.7%, 0%, 55.7%)
CIE-LABlab(25.77, 11.79, -34.04)
CIE-LCHlch(25.77, 36.03, 289.10°)
OKLaboklab(36.43% -0.0038 -0.0972)
OKLCHoklch(36.43% 0.097 267.8)
XYZxyz(5.3678, 4.6690, 16.2379)
Luminance0.0467 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283A71 #715F28
analogous
#285F71 #283A71 #3A2871
triadic
#283A71 #71283A #3A7128
tetradic
#283A71 #71285F #715F28 #28713A
square
#283A71 #71285F #715F28 #28713A
split-complementary
#283A71 #713A28 #5F7128
monochromatic
#080C17 #182344 #283A71 #38519E #526DC2

Accessibility & contrast

On white

10.86
#283A71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#283A71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283A71
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283A71#FFFFFF#000000##FFFFFF
##283A711.0010.861.9310.86
#FFFFFF10.861.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4173
Deuteranopia (green-blind)
#133A70
Tritanopia (blue-blind)
#004650
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #283a71;
/* rgb */ color: rgb(40, 58, 113);
/* oklch */ color: oklch(36.4% 0.097 267.8);
Tailwind
colors: {
  custom: {
    50: '#6a6f9a',
    500: '#283a71',
    950: '#000000',
  },
}
SCSS
$custom: #283a71;
$custom-light: #6a6f9a;
$custom-dark: #000000;
JSON
{
  "hex": "#283a71",
  "rgb": {
    "r": 40,
    "g": 58,
    "b": 113
  },
  "hsl": {
    "h": 225.205,
    "s": 47.712,
    "l": 30
  },
  "oklch": {
    "l": 0.36431,
    "c": 0.09732,
    "h": 267.8
  },
  "luminance": 0.04669
}

Semantic roles & 50–950 ramp

primary
#283A71
secondary
#A38F52
accent
#B650D7
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #283A71

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

Preview Lab → · Contrast checker → · Palette generator →

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