#283374#283374

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

Color values

HEX#283374
RGBrgb(40, 51, 116)
HSLhsl(231, 49%, 31%)
HSVhsv(231, 66%, 45%)
CMYKcmyk(65.5%, 56%, 0%, 54.5%)
CIE-LABlab(23.93, 17.82, -38.91)
CIE-LCHlch(23.93, 42.80, 294.60°)
OKLaboklab(35.11% 0.0042 -0.1117)
OKLCHoklch(35.11% 0.112 272.1)
XYZxyz(5.2102, 4.0793, 17.0324)
Luminance0.0408 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283374 #746928
analogous
#285974 #283374 #432874
triadic
#283374 #742833 #337428
tetradic
#283374 #742859 #746928 #287443
square
#283374 #742859 #746928 #287443
split-complementary
#283374 #744328 #597428
monochromatic
#090B19 #181F46 #283374 #3847A2 #5363C4

Accessibility & contrast

On white

11.56
#283374 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #283374
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283374#FFFFFF#000000##FFFFFF
##2833741.0011.561.8211.56
#FFFFFF11.561.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#083C76
Deuteranopia (green-blind)
#003673
Tritanopia (blue-blind)
#00424E
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #283374;
/* rgb */ color: rgb(40, 51, 116);
/* oklch */ color: oklch(35.1% 0.112 272.1);
Tailwind
colors: {
  custom: {
    50: '#6b6a9c',
    500: '#283374',
    950: '#000000',
  },
}
SCSS
$custom: #283374;
$custom-light: #6b6a9c;
$custom-dark: #000000;
JSON
{
  "hex": "#283374",
  "rgb": {
    "r": 40,
    "g": 51,
    "b": 116
  },
  "hsl": {
    "h": 231.316,
    "s": 48.718,
    "l": 30.588
  },
  "oklch": {
    "l": 0.35106,
    "c": 0.11175,
    "h": 272.1
  },
  "luminance": 0.0408
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #283374

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

Preview Lab → · Contrast checker → · Palette generator →

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