#283AA5#283AA5

#283AA5 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.8% C 0.172 H 269.5°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#283AA5
RGBrgb(40, 58, 165)
HSLhsl(231, 61%, 40%)
HSVhsv(231, 76%, 65%)
CMYKcmyk(75.8%, 64.8%, 0%, 35.3%)
CIE-LABlab(29.89, 31.56, -59.55)
CIE-LCHlch(29.89, 67.40, 297.92°)
OKLaboklab(40.81% -0.0015 -0.1722)
OKLCHoklch(40.81% 0.172 269.5)
XYZxyz(9.1773, 6.1929, 36.3017)
Luminance0.0619 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283AA5 #A59328
analogous
#2878A5 #283AA5 #5428A5
triadic
#283AA5 #A5283A #3AA528
tetradic
#283AA5 #A52878 #A59328 #28A554
square
#283AA5 #A52878 #A59328 #28A554
split-complementary
#283AA5 #A55428 #78A528
monochromatic
#101742 #1C2974 #283AA5 #3B50CF #6C7CDB

Accessibility & contrast

On white

9.38
#283AA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#283AA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283AA5
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283AA5#FFFFFF#000000##FFFFFF
##283AA51.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA8
Deuteranopia (green-blind)
#0041A3
Tritanopia (blue-blind)
#00566A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #283aa5;
/* rgb */ color: rgb(40, 58, 165);
/* oklch */ color: oklch(40.8% 0.172 269.5);
Tailwind
colors: {
  custom: {
    50: '#7670c1',
    500: '#283aa5',
    950: '#000000',
  },
}
SCSS
$custom: #283aa5;
$custom-light: #7670c1;
$custom-dark: #000000;
JSON
{
  "hex": "#283aa5",
  "rgb": {
    "r": 40,
    "g": 58,
    "b": 165
  },
  "hsl": {
    "h": 231.36,
    "s": 60.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.40812,
    "c": 0.17221,
    "h": 269.5
  },
  "luminance": 0.06194
}

Semantic roles & 50–950 ramp

primary
#283AA5
secondary
#C2B567
accent
#CD44E4
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #283AA5

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

Preview Lab → · Contrast checker → · Palette generator →

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