#283AA3#283AA3

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

Color values

HEX#283AA3
RGBrgb(40, 58, 163)
HSLhsl(231, 61%, 40%)
HSVhsv(231, 75%, 64%)
CMYKcmyk(75.5%, 64.4%, 0%, 36.1%)
CIE-LABlab(29.71, 30.82, -58.64)
CIE-LCHlch(29.71, 66.25, 297.73°)
OKLaboklab(40.63% -0.0014 -0.1695)
OKLCHoklch(40.63% 0.17 269.5)
XYZxyz(8.9967, 6.1206, 35.3505)
Luminance0.0612 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283AA3 #A39128
analogous
#2877A3 #283AA3 #5428A3
triadic
#283AA3 #A3283A #3AA328
tetradic
#283AA3 #A32877 #A39128 #28A354
square
#283AA3 #A32877 #A39128 #28A354
split-complementary
#283AA3 #A35428 #77A328
monochromatic
#101741 #1C2972 #283AA3 #3A4FCF #6B7BDB

Accessibility & contrast

On white

9.44
#283AA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #283AA3
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283AA3#FFFFFF#000000##FFFFFF
##283AA31.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA6
Deuteranopia (green-blind)
#0040A1
Tritanopia (blue-blind)
#005569
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #283aa3;
/* rgb */ color: rgb(40, 58, 163);
/* oklch */ color: oklch(40.6% 0.170 269.5);
Tailwind
colors: {
  custom: {
    50: '#7570bf',
    500: '#283aa3',
    950: '#000000',
  },
}
SCSS
$custom: #283aa3;
$custom-light: #7570bf;
$custom-dark: #000000;
JSON
{
  "hex": "#283aa3",
  "rgb": {
    "r": 40,
    "g": 58,
    "b": 163
  },
  "hsl": {
    "h": 231.22,
    "s": 60.591,
    "l": 39.804
  },
  "oklch": {
    "l": 0.40625,
    "c": 0.16954,
    "h": 269.5
  },
  "luminance": 0.06122
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #283AA3

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

Preview Lab → · Contrast checker → · Palette generator →

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