#283CB0#283CB0

#283CB0 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.2% C 0.184 H 269.0°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#283CB0
RGBrgb(40, 60, 176)
HSLhsl(231, 63%, 42%)
HSVhsv(231, 77%, 69%)
CMYKcmyk(77.3%, 65.9%, 0%, 31%)
CIE-LABlab(31.39, 34.32, -63.70)
CIE-LCHlch(31.39, 72.36, 298.32°)
OKLaboklab(42.21% -0.0033 -0.1843)
OKLCHoklch(42.21% 0.184 269)
XYZxyz(10.3247, 6.8163, 41.8374)
Luminance0.0682 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283CB0 #B09C28
analogous
#2880B0 #283CB0 #5828B0
triadic
#283CB0 #B0283C #3CB028
tetradic
#283CB0 #B02880 #B09C28 #28B058
square
#283CB0 #B02880 #B09C28 #28B058
split-complementary
#283CB0 #B05828 #80B028
monochromatic
#111A4C #1D2B7E #283CB0 #4157D4 #7383DF

Accessibility & contrast

On white

8.89
#283CB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#283CB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283CB0
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283CB0#FFFFFF#000000##FFFFFF
##283CB01.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B4
Deuteranopia (green-blind)
#0043AE
Tritanopia (blue-blind)
#005B70
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #283cb0;
/* rgb */ color: rgb(40, 60, 176);
/* oklch */ color: oklch(42.2% 0.184 269.0);
Tailwind
colors: {
  custom: {
    50: '#7871c9',
    500: '#283cb0',
    950: '#000000',
  },
}
SCSS
$custom: #283cb0;
$custom-light: #7871c9;
$custom-dark: #000000;
JSON
{
  "hex": "#283cb0",
  "rgb": {
    "r": 40,
    "g": 60,
    "b": 176
  },
  "hsl": {
    "h": 231.176,
    "s": 62.963,
    "l": 42.353
  },
  "oklch": {
    "l": 0.42212,
    "c": 0.18436,
    "h": 269
  },
  "luminance": 0.06817
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #283CB0

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

Preview Lab → · Contrast checker → · Palette generator →

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