#283AA1#283AA1

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

Color values

HEX#283AA1
RGBrgb(40, 58, 161)
HSLhsl(231, 60%, 39%)
HSVhsv(231, 75%, 63%)
CMYKcmyk(75.2%, 64%, 0%, 36.9%)
CIE-LABlab(29.54, 30.08, -57.72)
CIE-LCHlch(29.54, 65.09, 297.52°)
OKLaboklab(40.44% -0.0014 -0.1668)
OKLCHoklch(40.44% 0.167 269.5)
XYZxyz(8.8189, 6.0495, 34.4142)
Luminance0.0605 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283AA1 #A18F28
analogous
#2877A1 #283AA1 #5228A1
triadic
#283AA1 #A1283A #3AA128
tetradic
#283AA1 #A12877 #A18F28 #28A152
square
#283AA1 #A12877 #A18F28 #28A152
split-complementary
#283AA1 #A15228 #77A128
monochromatic
#10173F #1C2870 #283AA1 #394FCE #6A7ADA

Accessibility & contrast

On white

9.50
#283AA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#283AA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283AA1
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283AA1#FFFFFF#000000##FFFFFF
##283AA11.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA4
Deuteranopia (green-blind)
#00409F
Tritanopia (blue-blind)
#005568
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #283aa1;
/* rgb */ color: rgb(40, 58, 161);
/* oklch */ color: oklch(40.4% 0.167 269.5);
Tailwind
colors: {
  custom: {
    50: '#7570be',
    500: '#283aa1',
    950: '#000000',
  },
}
SCSS
$custom: #283aa1;
$custom-light: #7570be;
$custom-dark: #000000;
JSON
{
  "hex": "#283aa1",
  "rgb": {
    "r": 40,
    "g": 58,
    "b": 161
  },
  "hsl": {
    "h": 231.074,
    "s": 60.199,
    "l": 39.412
  },
  "oklch": {
    "l": 0.4044,
    "c": 0.16685,
    "h": 269.5
  },
  "luminance": 0.0605
}

Semantic roles & 50–950 ramp

primary
#283AA1
secondary
#C0B365
accent
#CC44E3
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #283AA1

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

Preview Lab → · Contrast checker → · Palette generator →

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