#283373#283373

#283373 is a dark, moderate blue. Relative luminance 0.041; OKLCH L 35.0% C 0.110 H 272.1°. Best body text is #FFFFFF at 11.59:1 contrast (WCAG AA passes).

Color values

HEX#283373
RGBrgb(40, 51, 115)
HSLhsl(231, 48%, 30%)
HSVhsv(231, 65%, 45%)
CMYKcmyk(65.2%, 55.7%, 0%, 54.9%)
CIE-LABlab(23.86, 17.44, -38.40)
CIE-LCHlch(23.86, 42.17, 294.42°)
OKLaboklab(35.03% 0.0041 -0.1102)
OKLCHoklch(35.03% 0.11 272.1)
XYZxyz(5.1524, 4.0561, 16.7277)
Luminance0.0406 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283373 #736828
analogous
#285873 #283373 #422873
triadic
#283373 #732833 #337328
tetradic
#283373 #732858 #736828 #287342
square
#283373 #732858 #736828 #287342
split-complementary
#283373 #734228 #587328
monochromatic
#080B18 #181F46 #283373 #3847A0 #5263C3

Accessibility & contrast

On white

11.59
#283373 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#283373 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283373
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283373#FFFFFF#000000##FFFFFF
##2833731.0011.591.8111.59
#FFFFFF11.591.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A3C75
Deuteranopia (green-blind)
#003672
Tritanopia (blue-blind)
#00424D
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #283373;
/* rgb */ color: rgb(40, 51, 115);
/* oklch */ color: oklch(35.0% 0.110 272.1);
Tailwind
colors: {
  custom: {
    50: '#6b6a9c',
    500: '#283373',
    950: '#000000',
  },
}
SCSS
$custom: #283373;
$custom-light: #6b6a9c;
$custom-dark: #000000;
JSON
{
  "hex": "#283373",
  "rgb": {
    "r": 40,
    "g": 51,
    "b": 115
  },
  "hsl": {
    "h": 231.2,
    "s": 48.387,
    "l": 30.392
  },
  "oklch": {
    "l": 0.35025,
    "c": 0.11024,
    "h": 272.1
  },
  "luminance": 0.04057
}

Semantic roles & 50–950 ramp

primary
#283373
secondary
#A59952
accent
#C450D8
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #283373

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

Preview Lab → · Contrast checker → · Palette generator →

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