#283C88#283C88

#283C88 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 38.7% C 0.129 H 268.6°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#283C88
RGBrgb(40, 60, 136)
HSLhsl(228, 55%, 35%)
HSVhsv(228, 71%, 53%)
CMYKcmyk(70.6%, 55.9%, 0%, 46.7%)
CIE-LABlab(28.01, 19.23, -44.90)
CIE-LCHlch(28.01, 48.85, 293.19°)
OKLaboklab(38.66% -0.0032 -0.1292)
OKLCHoklch(38.66% 0.129 268.6)
XYZxyz(6.9333, 5.4597, 23.9762)
Luminance0.0546 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283C88 #887428
analogous
#286C88 #283C88 #442888
triadic
#283C88 #88283C #3C8828
tetradic
#283C88 #88286C #887428 #288844
square
#283C88 #88286C #887428 #288844
split-complementary
#283C88 #884428 #6C8828
monochromatic
#0C1229 #1A2759 #283C88 #3651B7 #5B74CF

Accessibility & contrast

On white

10.04
#283C88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#283C88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283C88
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283C88#FFFFFF#000000##FFFFFF
##283C881.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01478B
Deuteranopia (green-blind)
#003E86
Tritanopia (blue-blind)
#004E5C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #283c88;
/* rgb */ color: rgb(40, 60, 136);
/* oklch */ color: oklch(38.7% 0.129 268.6);
Tailwind
colors: {
  custom: {
    50: '#6f71ab',
    500: '#283c88',
    950: '#000000',
  },
}
SCSS
$custom: #283c88;
$custom-light: #6f71ab;
$custom-dark: #000000;
JSON
{
  "hex": "#283c88",
  "rgb": {
    "r": 40,
    "g": 60,
    "b": 136
  },
  "hsl": {
    "h": 227.5,
    "s": 54.545,
    "l": 34.51
  },
  "oklch": {
    "l": 0.38655,
    "c": 0.1292,
    "h": 268.6
  },
  "luminance": 0.0546
}

Semantic roles & 50–950 ramp

primary
#283C88
secondary
#B4A158
accent
#BF4ADE
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #283C88

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

Preview Lab → · Contrast checker → · Palette generator →

#283C88 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva