#283BA9#283BA9

#283BA9 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.4% C 0.176 H 269.2°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#283BA9
RGBrgb(40, 59, 169)
HSLhsl(231, 62%, 41%)
HSVhsv(231, 76%, 66%)
CMYKcmyk(76.3%, 65.1%, 0%, 33.7%)
CIE-LABlab(30.50, 32.39, -60.96)
CIE-LCHlch(30.50, 69.03, 297.98°)
OKLaboklab(41.37% -0.0023 -0.1763)
OKLCHoklch(41.37% 0.176 269.2)
XYZxyz(9.5980, 6.4426, 38.2661)
Luminance0.0644 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283BA9 #A99628
analogous
#287BA9 #283BA9 #5528A9
triadic
#283BA9 #A9283B #3BA928
tetradic
#283BA9 #A9287B #A99628 #28A955
square
#283BA9 #A9287B #A99628 #28A955
split-complementary
#283BA9 #A95528 #7BA928
monochromatic
#111846 #1C2A78 #283BA9 #3D53D1 #6F7FDD

Accessibility & contrast

On white

9.18
#283BA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#283BA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283BA9
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283BA9#FFFFFF#000000##FFFFFF
##283BA91.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAC
Deuteranopia (green-blind)
#0042A7
Tritanopia (blue-blind)
#00586C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #283ba9;
/* rgb */ color: rgb(40, 59, 169);
/* oklch */ color: oklch(41.4% 0.176 269.2);
Tailwind
colors: {
  custom: {
    50: '#7771c4',
    500: '#283ba9',
    950: '#000000',
  },
}
SCSS
$custom: #283ba9;
$custom-light: #7771c4;
$custom-dark: #000000;
JSON
{
  "hex": "#283ba9",
  "rgb": {
    "r": 40,
    "g": 59,
    "b": 169
  },
  "hsl": {
    "h": 231.163,
    "s": 61.722,
    "l": 40.98
  },
  "oklch": {
    "l": 0.4137,
    "c": 0.17634,
    "h": 269.2
  },
  "luminance": 0.06444
}

Semantic roles & 50–950 ramp

primary
#283BA9
secondary
#C4B669
accent
#CD43E5
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #283BA9

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

Preview Lab → · Contrast checker → · Palette generator →

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