#283288#283288

#283288 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.6% C 0.142 H 272.2°. Best body text is #FFFFFF at 11.04:1 contrast (WCAG AA passes).

Color values

HEX#283288
RGBrgb(40, 50, 136)
HSLhsl(234, 55%, 35%)
HSVhsv(234, 71%, 53%)
CMYKcmyk(70.6%, 63.2%, 0%, 46.7%)
CIE-LABlab(25.29, 26.06, -49.32)
CIE-LCHlch(25.29, 55.78, 297.85°)
OKLaboklab(36.63% 0.0054 -0.1423)
OKLCHoklch(36.63% 0.142 272.2)
XYZxyz(6.4581, 4.5093, 23.8178)
Luminance0.0451 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283288 #887E28
analogous
#286288 #283288 #4E2888
triadic
#283288 #882832 #328828
tetradic
#283288 #882862 #887E28 #28884E
square
#283288 #882862 #887E28 #28884E
split-complementary
#283288 #884E28 #628828
monochromatic
#0C0F29 #1A2159 #283288 #3643B7 #5B68CF

Accessibility & contrast

On white

11.04
#283288 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#283288 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283288
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283288#FFFFFF#000000##FFFFFF
##2832881.0011.041.9011.04
#FFFFFF11.041.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408B
Deuteranopia (green-blind)
#003886
Tritanopia (blue-blind)
#004858
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #283288;
/* rgb */ color: rgb(40, 50, 136);
/* oklch */ color: oklch(36.6% 0.142 272.2);
Tailwind
colors: {
  custom: {
    50: '#6f69ab',
    500: '#283288',
    950: '#000000',
  },
}
SCSS
$custom: #283288;
$custom-light: #6f69ab;
$custom-dark: #000000;
JSON
{
  "hex": "#283288",
  "rgb": {
    "r": 40,
    "g": 50,
    "b": 136
  },
  "hsl": {
    "h": 233.75,
    "s": 54.545,
    "l": 34.51
  },
  "oklch": {
    "l": 0.36628,
    "c": 0.14237,
    "h": 272.2
  },
  "luminance": 0.0451
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #283288

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

Preview Lab → · Contrast checker → · Palette generator →

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