#283CA4#283CA4

#283CA4 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.1% C 0.168 H 269.1°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#283CA4
RGBrgb(40, 60, 164)
HSLhsl(230, 61%, 40%)
HSVhsv(230, 76%, 64%)
CMYKcmyk(75.6%, 63.4%, 0%, 35.7%)
CIE-LABlab(30.31, 29.88, -58.27)
CIE-LCHlch(30.31, 65.49, 297.15°)
OKLaboklab(41.09% -0.0028 -0.1684)
OKLCHoklch(41.09% 0.168 269.1)
XYZxyz(9.1895, 6.3622, 35.8585)
Luminance0.0636 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283CA4 #A49028
analogous
#287AA4 #283CA4 #5228A4
triadic
#283CA4 #A4283C #3CA428
tetradic
#283CA4 #A4287A #A49028 #28A452
square
#283CA4 #A4287A #A49028 #28A452
split-complementary
#283CA4 #A45228 #7AA428
monochromatic
#101842 #1C2A73 #283CA4 #3A52CF #6B7DDB

Accessibility & contrast

On white

9.24
#283CA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#283CA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283CA4
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283CA4#FFFFFF#000000##FFFFFF
##283CA41.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA7
Deuteranopia (green-blind)
#0042A2
Tritanopia (blue-blind)
#00576A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #283ca4;
/* rgb */ color: rgb(40, 60, 164);
/* oklch */ color: oklch(41.1% 0.168 269.1);
Tailwind
colors: {
  custom: {
    50: '#7571c0',
    500: '#283ca4',
    950: '#000000',
  },
}
SCSS
$custom: #283ca4;
$custom-light: #7571c0;
$custom-dark: #000000;
JSON
{
  "hex": "#283ca4",
  "rgb": {
    "r": 40,
    "g": 60,
    "b": 164
  },
  "hsl": {
    "h": 230.323,
    "s": 60.784,
    "l": 40
  },
  "oklch": {
    "l": 0.4109,
    "c": 0.16845,
    "h": 269.1
  },
  "luminance": 0.06363
}

Semantic roles & 50–950 ramp

primary
#283CA4
secondary
#C1B366
accent
#CA44E4
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #283CA4

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

Preview Lab → · Contrast checker → · Palette generator →

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