#283199#283199

#283199 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.1% C 0.167 H 271.7°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#283199
RGBrgb(40, 49, 153)
HSLhsl(235, 59%, 38%)
HSVhsv(235, 74%, 60%)
CMYKcmyk(73.9%, 68%, 0%, 40%)
CIE-LABlab(26.58, 33.00, -57.70)
CIE-LCHlch(26.58, 66.47, 299.77°)
OKLaboklab(38.05% 0.005 -0.1668)
OKLCHoklch(38.05% 0.167 271.7)
XYZxyz(7.7212, 4.9469, 30.6787)
Luminance0.0495 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283199 #999028
analogous
#286A99 #283199 #572899
triadic
#283199 #992831 #319928
tetradic
#283199 #99286A #999028 #289957
square
#283199 #99286A #999028 #289957
split-complementary
#283199 #995728 #6A9928
monochromatic
#0F1238 #1B2168 #283199 #3541CA #656ED7

Accessibility & contrast

On white

10.55
#283199 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#283199 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283199
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283199#FFFFFF#000000##FFFFFF
##2831991.0010.551.9910.55
#FFFFFF10.551.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449C
Deuteranopia (green-blind)
#003A97
Tritanopia (blue-blind)
#004D60
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #283199;
/* rgb */ color: rgb(40, 49, 153);
/* oklch */ color: oklch(38.1% 0.167 271.7);
Tailwind
colors: {
  custom: {
    50: '#7369b8',
    500: '#283199',
    950: '#000000',
  },
}
SCSS
$custom: #283199;
$custom-light: #7369b8;
$custom-dark: #000000;
JSON
{
  "hex": "#283199",
  "rgb": {
    "r": 40,
    "g": 49,
    "b": 153
  },
  "hsl": {
    "h": 235.221,
    "s": 58.549,
    "l": 37.843
  },
  "oklch": {
    "l": 0.38052,
    "c": 0.16691,
    "h": 271.7
  },
  "luminance": 0.04948
}

Semantic roles & 50–950 ramp

primary
#283199
secondary
#BDB560
accent
#D546E2
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #283199

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

Preview Lab → · Contrast checker → · Palette generator →

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