#283471#283471

#283471 is a dark, moderate blue. Relative luminance 0.041; OKLCH L 35.1% C 0.106 H 271.5°. Best body text is #FFFFFF at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#283471
RGBrgb(40, 52, 113)
HSLhsl(230, 48%, 30%)
HSVhsv(230, 65%, 44%)
CMYKcmyk(64.6%, 54%, 0%, 55.7%)
CIE-LABlab(24.00, 15.98, -36.90)
CIE-LCHlch(24.00, 40.21, 293.42°)
OKLaboklab(35.08% 0.0029 -0.1057)
OKLCHoklch(35.08% 0.106 271.5)
XYZxyz(5.0827, 4.0989, 16.1429)
Luminance0.0410 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283471 #716528
analogous
#285871 #283471 #412871
triadic
#283471 #712834 #347128
tetradic
#283471 #712858 #716528 #287141
square
#283471 #712858 #716528 #287141
split-complementary
#283471 #714128 #587128
monochromatic
#080A17 #181F44 #283471 #38499E #5264C2

Accessibility & contrast

On white

11.54
#283471 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#283471 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283471
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283471#FFFFFF#000000##FFFFFF
##2834711.0011.541.8211.54
#FFFFFF11.541.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#113C73
Deuteranopia (green-blind)
#003670
Tritanopia (blue-blind)
#00424D
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #283471;
/* rgb */ color: rgb(40, 52, 113);
/* oklch */ color: oklch(35.1% 0.106 271.5);
Tailwind
colors: {
  custom: {
    50: '#6a6b9a',
    500: '#283471',
    950: '#000000',
  },
}
SCSS
$custom: #283471;
$custom-light: #6a6b9a;
$custom-dark: #000000;
JSON
{
  "hex": "#283471",
  "rgb": {
    "r": 40,
    "g": 52,
    "b": 113
  },
  "hsl": {
    "h": 230.137,
    "s": 47.712,
    "l": 30
  },
  "oklch": {
    "l": 0.35083,
    "c": 0.10576,
    "h": 271.5
  },
  "luminance": 0.04099
}

Semantic roles & 50–950 ramp

primary
#283471
secondary
#A39652
accent
#C150D7
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #283471

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

Preview Lab → · Contrast checker → · Palette generator →

#283471 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva