#283DB0#283DB0

#283DB0 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.4% C 0.183 H 268.8°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#283DB0
RGBrgb(40, 61, 176)
HSLhsl(231, 63%, 42%)
HSVhsv(231, 77%, 69%)
CMYKcmyk(77.3%, 65.3%, 0%, 31%)
CIE-LABlab(31.63, 33.68, -63.30)
CIE-LCHlch(31.63, 71.70, 298.02°)
OKLaboklab(42.39% -0.0039 -0.1831)
OKLCHoklch(42.39% 0.183 268.8)
XYZxyz(10.3776, 6.9220, 41.8550)
Luminance0.0692 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283DB0 #B09B28
analogous
#2881B0 #283DB0 #5728B0
triadic
#283DB0 #B0283D #3DB028
tetradic
#283DB0 #B02881 #B09B28 #28B057
square
#283DB0 #B02881 #B09B28 #28B057
split-complementary
#283DB0 #B05728 #81B028
monochromatic
#111A4C #1D2C7E #283DB0 #4158D4 #7384DF

Accessibility & contrast

On white

8.81
#283DB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#283DB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283DB0
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283DB0#FFFFFF#000000##FFFFFF
##283DB01.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B4
Deuteranopia (green-blind)
#0044AE
Tritanopia (blue-blind)
#005C71
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #283db0;
/* rgb */ color: rgb(40, 61, 176);
/* oklch */ color: oklch(42.4% 0.183 268.8);
Tailwind
colors: {
  custom: {
    50: '#7872c9',
    500: '#283db0',
    950: '#000000',
  },
}
SCSS
$custom: #283db0;
$custom-light: #7872c9;
$custom-dark: #000000;
JSON
{
  "hex": "#283db0",
  "rgb": {
    "r": 40,
    "g": 61,
    "b": 176
  },
  "hsl": {
    "h": 230.735,
    "s": 62.963,
    "l": 42.353
  },
  "oklch": {
    "l": 0.42391,
    "c": 0.18319,
    "h": 268.8
  },
  "luminance": 0.06923
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #283DB0

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

Preview Lab → · Contrast checker → · Palette generator →

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