#283A8F#283A8F

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

Color values

HEX#283A8F
RGBrgb(40, 58, 143)
HSLhsl(230, 56%, 36%)
HSVhsv(230, 72%, 56%)
CMYKcmyk(72%, 59.4%, 0%, 43.9%)
CIE-LABlab(28.01, 23.28, -49.23)
CIE-LCHlch(28.01, 54.46, 295.31°)
OKLaboklab(38.83% -0.0012 -0.1419)
OKLCHoklch(38.83% 0.142 269.5)
XYZxyz(7.3444, 5.4597, 26.6480)
Luminance0.0546 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283A8F #8F7D28
analogous
#286D8F #283A8F #4A288F
triadic
#283A8F #8F283A #3A8F28
tetradic
#283A8F #8F286D #8F7D28 #288F4A
square
#283A8F #8F286D #8F7D28 #288F4A
split-complementary
#283A8F #8F4A28 #6D8F28
monochromatic
#0D132F #1B275F #283A8F #354DBF #5F73D2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##283A8F#FFFFFF#000000##FFFFFF
##283A8F1.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)
#004792
Deuteranopia (green-blind)
#003E8D
Tritanopia (blue-blind)
#004F5E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #283a8f;
/* rgb */ color: rgb(40, 58, 143);
/* oklch */ color: oklch(38.8% 0.142 269.5);
Tailwind
colors: {
  custom: {
    50: '#706fb0',
    500: '#283a8f',
    950: '#000000',
  },
}
SCSS
$custom: #283a8f;
$custom-light: #706fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#283a8f",
  "rgb": {
    "r": 40,
    "g": 58,
    "b": 143
  },
  "hsl": {
    "h": 229.515,
    "s": 56.284,
    "l": 35.882
  },
  "oklch": {
    "l": 0.38829,
    "c": 0.14193,
    "h": 269.5
  },
  "luminance": 0.0546
}

Semantic roles & 50–950 ramp

primary
#283A8F
secondary
#B8A85B
accent
#C548E0
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#090711
muted
#7B7A80

Preview Lab

Preview with #283A8F

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

Preview Lab → · Contrast checker → · Palette generator →

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