#283E9E#283E9E

#283E9E is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.9% C 0.158 H 268.5°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#283E9E
RGBrgb(40, 62, 158)
HSLhsl(229, 60%, 39%)
HSVhsv(229, 75%, 62%)
CMYKcmyk(74.7%, 60.8%, 0%, 38%)
CIE-LABlab(30.31, 26.29, -54.64)
CIE-LCHlch(30.31, 60.63, 295.69°)
OKLaboklab(40.93% -0.0041 -0.1577)
OKLCHoklch(40.93% 0.158 268.5)
XYZxyz(8.7671, 6.3641, 33.1075)
Luminance0.0636 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283E9E #9E8828
analogous
#28799E #283E9E #4D289E
triadic
#283E9E #9E283E #3E9E28
tetradic
#283E9E #9E2879 #9E8828 #289E4D
square
#283E9E #9E2879 #9E8828 #289E4D
split-complementary
#283E9E #9E4D28 #799E28
monochromatic
#0F183C #1C2B6D #283E9E #3753CC #687DD9

Accessibility & contrast

On white

9.24
#283E9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#283E9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283E9E
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283E9E#FFFFFF#000000##FFFFFF
##283E9E1.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA1
Deuteranopia (green-blind)
#00429C
Tritanopia (blue-blind)
#005668
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #283e9e;
/* rgb */ color: rgb(40, 62, 158);
/* oklch */ color: oklch(40.9% 0.158 268.5);
Tailwind
colors: {
  custom: {
    50: '#7473bb',
    500: '#283e9e',
    950: '#000000',
  },
}
SCSS
$custom: #283e9e;
$custom-light: #7473bb;
$custom-dark: #000000;
JSON
{
  "hex": "#283e9e",
  "rgb": {
    "r": 40,
    "g": 62,
    "b": 158
  },
  "hsl": {
    "h": 228.814,
    "s": 59.596,
    "l": 38.824
  },
  "oklch": {
    "l": 0.40934,
    "c": 0.1578,
    "h": 268.5
  },
  "luminance": 0.06365
}

Semantic roles & 50–950 ramp

primary
#283E9E
secondary
#BFAE63
accent
#C545E3
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #283E9E

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

Preview Lab → · Contrast checker → · Palette generator →

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