#283BA3#283BA3

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

Color values

HEX#283BA3
RGBrgb(40, 59, 163)
HSLhsl(231, 61%, 40%)
HSVhsv(231, 75%, 64%)
CMYKcmyk(75.5%, 63.8%, 0%, 36.1%)
CIE-LABlab(29.97, 30.17, -58.23)
CIE-LCHlch(29.97, 65.58, 297.39°)
OKLaboklab(40.81% -0.0021 -0.1683)
OKLCHoklch(40.81% 0.168 269.3)
XYZxyz(9.0476, 6.2224, 35.3674)
Luminance0.0622 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283BA3 #A39028
analogous
#2878A3 #283BA3 #5328A3
triadic
#283BA3 #A3283B #3BA328
tetradic
#283BA3 #A32878 #A39028 #28A353
square
#283BA3 #A32878 #A39028 #28A353
split-complementary
#283BA3 #A35328 #78A328
monochromatic
#101741 #1C2972 #283BA3 #3A51CF #6B7CDB

Accessibility & contrast

On white

9.36
#283BA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #283BA3
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283BA3#FFFFFF#000000##FFFFFF
##283BA31.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA6
Deuteranopia (green-blind)
#0041A1
Tritanopia (blue-blind)
#005669
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #283ba3;
/* rgb */ color: rgb(40, 59, 163);
/* oklch */ color: oklch(40.8% 0.168 269.3);
Tailwind
colors: {
  custom: {
    50: '#7570bf',
    500: '#283ba3',
    950: '#000000',
  },
}
SCSS
$custom: #283ba3;
$custom-light: #7570bf;
$custom-dark: #000000;
JSON
{
  "hex": "#283ba3",
  "rgb": {
    "r": 40,
    "g": 59,
    "b": 163
  },
  "hsl": {
    "h": 230.732,
    "s": 60.591,
    "l": 39.804
  },
  "oklch": {
    "l": 0.40811,
    "c": 0.16832,
    "h": 269.3
  },
  "luminance": 0.06223
}

Semantic roles & 50–950 ramp

primary
#283BA3
secondary
#C1B366
accent
#CB44E4
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #283BA3

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

Preview Lab → · Contrast checker → · Palette generator →

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