#283A9F#283A9F

#283A9F is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.3% C 0.164 H 269.5°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#283A9F
RGBrgb(40, 58, 159)
HSLhsl(231, 60%, 39%)
HSVhsv(231, 75%, 62%)
CMYKcmyk(74.8%, 63.5%, 0%, 37.6%)
CIE-LABlab(29.36, 29.33, -56.80)
CIE-LCHlch(29.36, 63.93, 297.31°)
OKLaboklab(40.26% -0.0013 -0.1641)
OKLCHoklch(40.26% 0.164 269.5)
XYZxyz(8.6440, 5.9795, 33.4928)
Luminance0.0598 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283A9F #9F8D28
analogous
#28769F #283A9F #52289F
triadic
#283A9F #9F283A #3A9F28
tetradic
#283A9F #9F2876 #9F8D28 #289F52
square
#283A9F #9F2876 #9F8D28 #289F52
split-complementary
#283A9F #9F5228 #769F28
monochromatic
#0F163D #1C286E #283A9F #374ECD #6879D9

Accessibility & contrast

On white

9.56
#283A9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#283A9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283A9F
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283A9F#FFFFFF#000000##FFFFFF
##283A9F1.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA2
Deuteranopia (green-blind)
#00409D
Tritanopia (blue-blind)
#005467
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #283a9f;
/* rgb */ color: rgb(40, 58, 159);
/* oklch */ color: oklch(40.3% 0.164 269.5);
Tailwind
colors: {
  custom: {
    50: '#7470bc',
    500: '#283a9f',
    950: '#000000',
  },
}
SCSS
$custom: #283a9f;
$custom-light: #7470bc;
$custom-dark: #000000;
JSON
{
  "hex": "#283a9f",
  "rgb": {
    "r": 40,
    "g": 58,
    "b": 159
  },
  "hsl": {
    "h": 230.924,
    "s": 59.799,
    "l": 39.02
  },
  "oklch": {
    "l": 0.40255,
    "c": 0.16415,
    "h": 269.5
  },
  "luminance": 0.0598
}

Semantic roles & 50–950 ramp

primary
#283A9F
secondary
#BFB164
accent
#CB45E3
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #283A9F

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

Preview Lab → · Contrast checker → · Palette generator →

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