#283AA2#283AA2

#283AA2 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.5% C 0.168 H 269.5°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#283AA2
RGBrgb(40, 58, 162)
HSLhsl(231, 60%, 40%)
HSVhsv(231, 75%, 64%)
CMYKcmyk(75.3%, 64.2%, 0%, 36.5%)
CIE-LABlab(29.63, 30.45, -58.18)
CIE-LCHlch(29.63, 65.67, 297.63°)
OKLaboklab(40.53% -0.0014 -0.1682)
OKLCHoklch(40.53% 0.168 269.5)
XYZxyz(8.9075, 6.0849, 34.8805)
Luminance0.0609 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283AA2 #A29028
analogous
#2877A2 #283AA2 #5328A2
triadic
#283AA2 #A2283A #3AA228
tetradic
#283AA2 #A22877 #A29028 #28A253
square
#283AA2 #A22877 #A29028 #28A253
split-complementary
#283AA2 #A25328 #77A228
monochromatic
#101740 #1C2871 #283AA2 #394FCE #6A7BDA

Accessibility & contrast

On white

9.47
#283AA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#283AA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283AA2
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283AA2#FFFFFF#000000##FFFFFF
##283AA21.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA5
Deuteranopia (green-blind)
#0040A0
Tritanopia (blue-blind)
#005568
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #283aa2;
/* rgb */ color: rgb(40, 58, 162);
/* oklch */ color: oklch(40.5% 0.168 269.5);
Tailwind
colors: {
  custom: {
    50: '#7570be',
    500: '#283aa2',
    950: '#000000',
  },
}
SCSS
$custom: #283aa2;
$custom-light: #7570be;
$custom-dark: #000000;
JSON
{
  "hex": "#283aa2",
  "rgb": {
    "r": 40,
    "g": 58,
    "b": 162
  },
  "hsl": {
    "h": 231.148,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.40532,
    "c": 0.1682,
    "h": 269.5
  },
  "luminance": 0.06086
}

Semantic roles & 50–950 ramp

primary
#283AA2
secondary
#C1B365
accent
#CC44E4
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #283AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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