#283184#283184

#283184 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.1% C 0.138 H 272.6°. Best body text is #FFFFFF at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#283184
RGBrgb(40, 49, 132)
HSLhsl(234, 53%, 34%)
HSVhsv(234, 70%, 52%)
CMYKcmyk(69.7%, 62.9%, 0%, 48.2%)
CIE-LABlab(24.68, 25.24, -47.81)
CIE-LCHlch(24.68, 54.07, 297.83°)
OKLaboklab(36.07% 0.0064 -0.1379)
OKLCHoklch(36.07% 0.138 272.6)
XYZxyz(6.1368, 4.3131, 22.3344)
Luminance0.0431 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283184 #847B28
analogous
#285F84 #283184 #4D2884
triadic
#283184 #842831 #318428
tetradic
#283184 #84285F #847B28 #28844D
square
#283184 #84285F #847B28 #28844D
split-complementary
#283184 #844D28 #5F8428
monochromatic
#0C0E26 #1A2055 #283184 #3642B3 #5A65CD

Accessibility & contrast

On white

11.27
#283184 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#283184 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283184
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283184#FFFFFF#000000##FFFFFF
##2831841.0011.271.8611.27
#FFFFFF11.271.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F87
Deuteranopia (green-blind)
#003682
Tritanopia (blue-blind)
#004655
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #283184;
/* rgb */ color: rgb(40, 49, 132);
/* oklch */ color: oklch(36.1% 0.138 272.6);
Tailwind
colors: {
  custom: {
    50: '#6e69a9',
    500: '#283184',
    950: '#000000',
  },
}
SCSS
$custom: #283184;
$custom-light: #6e69a9;
$custom-dark: #000000;
JSON
{
  "hex": "#283184",
  "rgb": {
    "r": 40,
    "g": 49,
    "b": 132
  },
  "hsl": {
    "h": 234.13,
    "s": 53.488,
    "l": 33.725
  },
  "oklch": {
    "l": 0.36072,
    "c": 0.13801,
    "h": 272.6
  },
  "luminance": 0.04314
}

Semantic roles & 50–950 ramp

primary
#283184
secondary
#B2A956
accent
#CF4BDD
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #283184

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

Preview Lab → · Contrast checker → · Palette generator →

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