#283AB1#283AB1

#283AB1 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 42.0% C 0.188 H 269.3°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#283AB1
RGBrgb(40, 58, 177)
HSLhsl(232, 63%, 43%)
HSVhsv(232, 77%, 69%)
CMYKcmyk(77.4%, 67.2%, 0%, 30.6%)
CIE-LABlab(31.00, 35.97, -64.93)
CIE-LCHlch(31.00, 74.23, 298.98°)
OKLaboklab(41.96% -0.0023 -0.1879)
OKLCHoklch(41.96% 0.188 269.3)
XYZxyz(10.3212, 6.6504, 42.3261)
Luminance0.0665 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283AB1 #B19F28
analogous
#287EB1 #283AB1 #5B28B1
triadic
#283AB1 #B1283A #3AB128
tetradic
#283AB1 #B1287E #B19F28 #28B15B
square
#283AB1 #B1287E #B19F28 #28B15B
split-complementary
#283AB1 #B15B28 #7EB128
monochromatic
#11194D #1D2A7F #283AB1 #4255D4 #7482E0

Accessibility & contrast

On white

9.01
#283AB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#283AB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283AB1
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283AB1#FFFFFF#000000##FFFFFF
##283AB11.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B5
Deuteranopia (green-blind)
#0042AF
Tritanopia (blue-blind)
#005A70
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #283ab1;
/* rgb */ color: rgb(40, 58, 177);
/* oklch */ color: oklch(42.0% 0.188 269.3);
Tailwind
colors: {
  custom: {
    50: '#7970c9',
    500: '#283ab1',
    950: '#000000',
  },
}
SCSS
$custom: #283ab1;
$custom-light: #7970c9;
$custom-dark: #000000;
JSON
{
  "hex": "#283ab1",
  "rgb": {
    "r": 40,
    "g": 58,
    "b": 177
  },
  "hsl": {
    "h": 232.117,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.41957,
    "c": 0.18795,
    "h": 269.3
  },
  "luminance": 0.06652
}

Semantic roles & 50–950 ramp

primary
#283AB1
secondary
#C7BB6E
accent
#D142E6
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #283AB1

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

Preview Lab → · Contrast checker → · Palette generator →

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