#283A88#283A88

#283A88 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.2% C 0.132 H 269.4°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#283A88
RGBrgb(40, 58, 136)
HSLhsl(229, 55%, 35%)
HSVhsv(229, 71%, 53%)
CMYKcmyk(70.6%, 57.4%, 0%, 46.7%)
CIE-LABlab(27.45, 20.61, -45.81)
CIE-LCHlch(27.45, 50.23, 294.22°)
OKLaboklab(38.24% -0.0014 -0.1318)
OKLCHoklch(38.24% 0.132 269.4)
XYZxyz(6.8305, 5.2541, 23.9420)
Luminance0.0525 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283A88 #887628
analogous
#286A88 #283A88 #462888
triadic
#283A88 #88283A #3A8828
tetradic
#283A88 #88286A #887628 #288846
square
#283A88 #88286A #887628 #288846
split-complementary
#283A88 #884628 #6A8828
monochromatic
#0C1229 #1A2659 #283A88 #364EB7 #5B71CF

Accessibility & contrast

On white

10.24
#283A88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#283A88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283A88
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283A88#FFFFFF#000000##FFFFFF
##283A881.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #283a88;
/* rgb */ color: rgb(40, 58, 136);
/* oklch */ color: oklch(38.2% 0.132 269.4);
Tailwind
colors: {
  custom: {
    50: '#6f6fab',
    500: '#283a88',
    950: '#000000',
  },
}
SCSS
$custom: #283a88;
$custom-light: #6f6fab;
$custom-dark: #000000;
JSON
{
  "hex": "#283a88",
  "rgb": {
    "r": 40,
    "g": 58,
    "b": 136
  },
  "hsl": {
    "h": 228.75,
    "s": 54.545,
    "l": 34.51
  },
  "oklch": {
    "l": 0.38235,
    "c": 0.13186,
    "h": 269.4
  },
  "luminance": 0.05255
}

Semantic roles & 50–950 ramp

primary
#283A88
secondary
#B4A358
accent
#C24ADE
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #283A88

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

Preview Lab → · Contrast checker → · Palette generator →

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