#283BAB#283BAB

#283BAB is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.6% C 0.179 H 269.2°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#283BAB
RGBrgb(40, 59, 171)
HSLhsl(231, 62%, 41%)
HSVhsv(231, 77%, 67%)
CMYKcmyk(76.6%, 65.5%, 0%, 32.9%)
CIE-LABlab(30.68, 33.13, -61.86)
CIE-LCHlch(30.68, 70.18, 298.17°)
OKLaboklab(41.56% -0.0024 -0.179)
OKLCHoklch(41.56% 0.179 269.2)
XYZxyz(9.7872, 6.5182, 39.2625)
Luminance0.0652 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283BAB #AB9828
analogous
#287DAB #283BAB #5728AB
triadic
#283BAB #AB283B #3BAB28
tetradic
#283BAB #AB287D #AB9828 #28AB57
square
#283BAB #AB287D #AB9828 #28AB57
split-complementary
#283BAB #AB5728 #7DAB28
monochromatic
#111948 #1C2A79 #283BAB #3E54D2 #7080DE

Accessibility & contrast

On white

9.12
#283BAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#283BAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283BAB
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283BAB#FFFFFF#000000##FFFFFF
##283BAB1.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAF
Deuteranopia (green-blind)
#0042A9
Tritanopia (blue-blind)
#00596D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #283bab;
/* rgb */ color: rgb(40, 59, 171);
/* oklch */ color: oklch(41.6% 0.179 269.2);
Tailwind
colors: {
  custom: {
    50: '#7771c5',
    500: '#283bab',
    950: '#000000',
  },
}
SCSS
$custom: #283bab;
$custom-light: #7771c5;
$custom-dark: #000000;
JSON
{
  "hex": "#283bab",
  "rgb": {
    "r": 40,
    "g": 59,
    "b": 171
  },
  "hsl": {
    "h": 231.298,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.41559,
    "c": 0.17898,
    "h": 269.2
  },
  "luminance": 0.06519
}

Semantic roles & 50–950 ramp

primary
#283BAB
secondary
#C4B76A
accent
#CE43E5
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #283BAB

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

Preview Lab → · Contrast checker → · Palette generator →

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