#283BA1#283BA1

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

Color values

HEX#283BA1
RGBrgb(40, 59, 161)
HSLhsl(231, 60%, 39%)
HSVhsv(231, 75%, 63%)
CMYKcmyk(75.2%, 63.4%, 0%, 36.9%)
CIE-LABlab(29.79, 29.42, -57.31)
CIE-LCHlch(29.79, 64.42, 297.17°)
OKLaboklab(40.63% -0.002 -0.1656)
OKLCHoklch(40.63% 0.166 269.3)
XYZxyz(8.8698, 6.1513, 34.4312)
Luminance0.0615 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283BA1 #A18E28
analogous
#2877A1 #283BA1 #5228A1
triadic
#283BA1 #A1283B #3BA128
tetradic
#283BA1 #A12877 #A18E28 #28A152
square
#283BA1 #A12877 #A18E28 #28A152
split-complementary
#283BA1 #A15228 #77A128
monochromatic
#10173F #1C2970 #283BA1 #3950CE #6A7BDA

Accessibility & contrast

On white

9.42
#283BA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#283BA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283BA1
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283BA1#FFFFFF#000000##FFFFFF
##283BA11.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #283ba1;
/* rgb */ color: rgb(40, 59, 161);
/* oklch */ color: oklch(40.6% 0.166 269.3);
Tailwind
colors: {
  custom: {
    50: '#7570be',
    500: '#283ba1',
    950: '#000000',
  },
}
SCSS
$custom: #283ba1;
$custom-light: #7570be;
$custom-dark: #000000;
JSON
{
  "hex": "#283ba1",
  "rgb": {
    "r": 40,
    "g": 59,
    "b": 161
  },
  "hsl": {
    "h": 230.579,
    "s": 60.199,
    "l": 39.412
  },
  "oklch": {
    "l": 0.40627,
    "c": 0.16562,
    "h": 269.3
  },
  "luminance": 0.06152
}

Semantic roles & 50–950 ramp

primary
#283BA1
secondary
#C0B265
accent
#CA44E3
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #283BA1

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

Preview Lab → · Contrast checker → · Palette generator →

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