#283474#283474

#283474 is a dark, moderate blue. Relative luminance 0.042; OKLCH L 35.3% C 0.110 H 271.6°. Best body text is #FFFFFF at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#283474
RGBrgb(40, 52, 116)
HSLhsl(231, 49%, 31%)
HSVhsv(231, 66%, 45%)
CMYKcmyk(65.5%, 55.2%, 0%, 54.5%)
CIE-LABlab(24.22, 17.12, -38.45)
CIE-LCHlch(24.22, 42.09, 294.00°)
OKLaboklab(35.32% 0.0031 -0.1103)
OKLCHoklch(35.32% 0.11 271.6)
XYZxyz(5.2544, 4.1676, 17.0471)
Luminance0.0417 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283474 #746828
analogous
#285A74 #283474 #422874
triadic
#283474 #742834 #347428
tetradic
#283474 #74285A #746828 #287442
square
#283474 #74285A #746828 #287442
split-complementary
#283474 #744228 #5A7428
monochromatic
#090B19 #182046 #283474 #3848A2 #5365C4

Accessibility & contrast

On white

11.45
#283474 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#283474 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283474
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283474#FFFFFF#000000##FFFFFF
##2834741.0011.451.8311.45
#FFFFFF11.451.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C3D76
Deuteranopia (green-blind)
#003673
Tritanopia (blue-blind)
#00434E
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #283474;
/* rgb */ color: rgb(40, 52, 116);
/* oklch */ color: oklch(35.3% 0.110 271.6);
Tailwind
colors: {
  custom: {
    50: '#6b6b9c',
    500: '#283474',
    950: '#000000',
  },
}
SCSS
$custom: #283474;
$custom-light: #6b6b9c;
$custom-dark: #000000;
JSON
{
  "hex": "#283474",
  "rgb": {
    "r": 40,
    "g": 52,
    "b": 116
  },
  "hsl": {
    "h": 230.526,
    "s": 48.718,
    "l": 30.588
  },
  "oklch": {
    "l": 0.35321,
    "c": 0.11034,
    "h": 271.6
  },
  "luminance": 0.04168
}

Semantic roles & 50–950 ramp

primary
#283474
secondary
#A69952
accent
#C350D8
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #283474

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

Preview Lab → · Contrast checker → · Palette generator →

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