#283AA9#283AA9

#283AA9 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.2% C 0.178 H 269.4°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#283AA9
RGBrgb(40, 58, 169)
HSLhsl(232, 62%, 41%)
HSVhsv(232, 76%, 66%)
CMYKcmyk(76.3%, 65.7%, 0%, 33.7%)
CIE-LABlab(30.26, 33.04, -61.37)
CIE-LCHlch(30.26, 69.70, 298.30°)
OKLaboklab(41.19% -0.0017 -0.1775)
OKLCHoklch(41.19% 0.178 269.4)
XYZxyz(9.5471, 6.3408, 38.2492)
Luminance0.0634 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283AA9 #A99728
analogous
#287AA9 #283AA9 #5628A9
triadic
#283AA9 #A9283A #3AA928
tetradic
#283AA9 #A9287A #A99728 #28A956
square
#283AA9 #A9287A #A99728 #28A956
split-complementary
#283AA9 #A95628 #7AA928
monochromatic
#111846 #1C2978 #283AA9 #3D52D1 #6F7EDD

Accessibility & contrast

On white

9.26
#283AA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #283AA9
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283AA9#FFFFFF#000000##FFFFFF
##283AA91.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAD
Deuteranopia (green-blind)
#0041A7
Tritanopia (blue-blind)
#00576C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #283aa9;
/* rgb */ color: rgb(40, 58, 169);
/* oklch */ color: oklch(41.2% 0.178 269.4);
Tailwind
colors: {
  custom: {
    50: '#7770c4',
    500: '#283aa9',
    950: '#000000',
  },
}
SCSS
$custom: #283aa9;
$custom-light: #7770c4;
$custom-dark: #000000;
JSON
{
  "hex": "#283aa9",
  "rgb": {
    "r": 40,
    "g": 58,
    "b": 169
  },
  "hsl": {
    "h": 231.628,
    "s": 61.722,
    "l": 40.98
  },
  "oklch": {
    "l": 0.41189,
    "c": 0.17752,
    "h": 269.4
  },
  "luminance": 0.06342
}

Semantic roles & 50–950 ramp

primary
#283AA9
secondary
#C4B769
accent
#CE43E5
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #283AA9

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

Preview Lab → · Contrast checker → · Palette generator →

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