#283CA8#283CA8

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

Color values

HEX#283CA8
RGBrgb(40, 60, 168)
HSLhsl(231, 62%, 41%)
HSVhsv(231, 76%, 66%)
CMYKcmyk(76.2%, 64.3%, 0%, 34.1%)
CIE-LABlab(30.66, 31.37, -60.10)
CIE-LCHlch(30.66, 67.80, 297.56°)
OKLaboklab(41.46% -0.0029 -0.1738)
OKLCHoklch(41.46% 0.174 269)
XYZxyz(9.5564, 6.5089, 37.7909)
Luminance0.0651 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283CA8 #A89428
analogous
#287CA8 #283CA8 #5428A8
triadic
#283CA8 #A8283C #3CA828
tetradic
#283CA8 #A8287C #A89428 #28A854
square
#283CA8 #A8287C #A89428 #28A854
split-complementary
#283CA8 #A85428 #7CA828
monochromatic
#101945 #1C2A77 #283CA8 #3D54D1 #6E7FDC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##283CA8#FFFFFF#000000##FFFFFF
##283CA81.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)
#004EAB
Deuteranopia (green-blind)
#0042A6
Tritanopia (blue-blind)
#00586C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #283ca8;
/* rgb */ color: rgb(40, 60, 168);
/* oklch */ color: oklch(41.5% 0.174 269.0);
Tailwind
colors: {
  custom: {
    50: '#7671c3',
    500: '#283ca8',
    950: '#000000',
  },
}
SCSS
$custom: #283ca8;
$custom-light: #7671c3;
$custom-dark: #000000;
JSON
{
  "hex": "#283ca8",
  "rgb": {
    "r": 40,
    "g": 60,
    "b": 168
  },
  "hsl": {
    "h": 230.625,
    "s": 61.538,
    "l": 40.784
  },
  "oklch": {
    "l": 0.41459,
    "c": 0.17381,
    "h": 269
  },
  "luminance": 0.0651
}

Semantic roles & 50–950 ramp

primary
#283CA8
secondary
#C3B569
accent
#CB43E5
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #283CA8

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

Preview Lab → · Contrast checker → · Palette generator →

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