#283DB1#283DB1

#283DB1 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.5% C 0.184 H 268.8°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#283DB1
RGBrgb(40, 61, 177)
HSLhsl(231, 63%, 43%)
HSVhsv(231, 77%, 69%)
CMYKcmyk(77.4%, 65.5%, 0%, 30.6%)
CIE-LABlab(31.72, 34.05, -63.75)
CIE-LCHlch(31.72, 72.27, 298.11°)
OKLaboklab(42.49% -0.004 -0.1845)
OKLCHoklch(42.49% 0.185 268.8)
XYZxyz(10.4769, 6.9618, 42.3780)
Luminance0.0696 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283DB1 #B19C28
analogous
#2881B1 #283DB1 #5828B1
triadic
#283DB1 #B1283D #3DB128
tetradic
#283DB1 #B12881 #B19C28 #28B158
square
#283DB1 #B12881 #B19C28 #28B158
split-complementary
#283DB1 #B15828 #81B128
monochromatic
#111B4D #1D2C7F #283DB1 #4258D4 #7484E0

Accessibility & contrast

On white

8.78
#283DB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#283DB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283DB1
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283DB1#FFFFFF#000000##FFFFFF
##283DB11.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B5
Deuteranopia (green-blind)
#0044AF
Tritanopia (blue-blind)
#005C71
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #283db1;
/* rgb */ color: rgb(40, 61, 177);
/* oklch */ color: oklch(42.5% 0.184 268.8);
Tailwind
colors: {
  custom: {
    50: '#7872c9',
    500: '#283db1',
    950: '#000000',
  },
}
SCSS
$custom: #283db1;
$custom-light: #7872c9;
$custom-dark: #000000;
JSON
{
  "hex": "#283db1",
  "rgb": {
    "r": 40,
    "g": 61,
    "b": 177
  },
  "hsl": {
    "h": 230.803,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.42485,
    "c": 0.1845,
    "h": 268.8
  },
  "luminance": 0.06963
}

Semantic roles & 50–950 ramp

primary
#283DB1
secondary
#C7B96E
accent
#CD42E6
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #283DB1

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

Preview Lab → · Contrast checker → · Palette generator →

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