#283188#283188

#283188 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.4% C 0.144 H 272.5°. Best body text is #FFFFFF at 11.14:1 contrast (WCAG AA passes).

Color values

HEX#283188
RGBrgb(40, 49, 136)
HSLhsl(234, 55%, 35%)
HSVhsv(234, 71%, 53%)
CMYKcmyk(70.6%, 64%, 0%, 46.7%)
CIE-LABlab(25.03, 26.74, -49.74)
CIE-LCHlch(25.03, 56.47, 298.26°)
OKLaboklab(36.44% 0.0062 -0.1435)
OKLCHoklch(36.44% 0.144 272.5)
XYZxyz(6.4158, 4.4247, 23.8037)
Luminance0.0442 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283188 #887F28
analogous
#286188 #283188 #4F2888
triadic
#283188 #882831 #318828
tetradic
#283188 #882861 #887F28 #28884F
square
#283188 #882861 #887F28 #28884F
split-complementary
#283188 #884F28 #618828
monochromatic
#0C0F29 #1A2059 #283188 #3642B7 #5B66CF

Accessibility & contrast

On white

11.14
#283188 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#283188 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283188
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283188#FFFFFF#000000##FFFFFF
##2831881.0011.141.8911.14
#FFFFFF11.141.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408B
Deuteranopia (green-blind)
#003786
Tritanopia (blue-blind)
#004757
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #283188;
/* rgb */ color: rgb(40, 49, 136);
/* oklch */ color: oklch(36.4% 0.144 272.5);
Tailwind
colors: {
  custom: {
    50: '#6f69ab',
    500: '#283188',
    950: '#000000',
  },
}
SCSS
$custom: #283188;
$custom-light: #6f69ab;
$custom-dark: #000000;
JSON
{
  "hex": "#283188",
  "rgb": {
    "r": 40,
    "g": 49,
    "b": 136
  },
  "hsl": {
    "h": 234.375,
    "s": 54.545,
    "l": 34.51
  },
  "oklch": {
    "l": 0.36437,
    "c": 0.14366,
    "h": 272.5
  },
  "luminance": 0.04425
}

Semantic roles & 50–950 ramp

primary
#283188
secondary
#B4AB58
accent
#D04ADE
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #283188

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

Preview Lab → · Contrast checker → · Palette generator →

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