#283B88#283B88

#283B88 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.4% C 0.131 H 269.0°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#283B88
RGBrgb(40, 59, 136)
HSLhsl(228, 55%, 35%)
HSVhsv(228, 71%, 53%)
CMYKcmyk(70.6%, 56.6%, 0%, 46.7%)
CIE-LABlab(27.73, 19.92, -45.36)
CIE-LCHlch(27.73, 49.54, 293.71°)
OKLaboklab(38.44% -0.0023 -0.1305)
OKLCHoklch(38.44% 0.131 269)
XYZxyz(6.8814, 5.3559, 23.9589)
Luminance0.0536 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283B88 #887528
analogous
#286B88 #283B88 #452888
triadic
#283B88 #88283B #3B8828
tetradic
#283B88 #88286B #887528 #288845
square
#283B88 #88286B #887528 #288845
split-complementary
#283B88 #884528 #6B8828
monochromatic
#0C1229 #1A2659 #283B88 #3650B7 #5B72CF

Accessibility & contrast

On white

10.14
#283B88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#283B88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283B88
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283B88#FFFFFF#000000##FFFFFF
##283B881.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468B
Deuteranopia (green-blind)
#003D86
Tritanopia (blue-blind)
#004E5B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #283b88;
/* rgb */ color: rgb(40, 59, 136);
/* oklch */ color: oklch(38.4% 0.131 269.0);
Tailwind
colors: {
  custom: {
    50: '#6f70ab',
    500: '#283b88',
    950: '#000000',
  },
}
SCSS
$custom: #283b88;
$custom-light: #6f70ab;
$custom-dark: #000000;
JSON
{
  "hex": "#283b88",
  "rgb": {
    "r": 40,
    "g": 59,
    "b": 136
  },
  "hsl": {
    "h": 228.125,
    "s": 54.545,
    "l": 34.51
  },
  "oklch": {
    "l": 0.38444,
    "c": 0.13053,
    "h": 269
  },
  "luminance": 0.05357
}

Semantic roles & 50–950 ramp

primary
#283B88
secondary
#B4A258
accent
#C14ADE
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #283B88

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

Preview Lab → · Contrast checker → · Palette generator →

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