#283CA1#283CA1

#283CA1 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.8% C 0.164 H 269.1°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#283CA1
RGBrgb(40, 60, 161)
HSLhsl(230, 60%, 39%)
HSVhsv(230, 75%, 63%)
CMYKcmyk(75.2%, 62.7%, 0%, 36.9%)
CIE-LABlab(30.05, 28.75, -56.89)
CIE-LCHlch(30.05, 63.74, 296.81°)
OKLaboklab(40.82% -0.0027 -0.1644)
OKLCHoklch(40.82% 0.164 269.1)
XYZxyz(8.9217, 6.2551, 34.4485)
Luminance0.0626 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283CA1 #A18D28
analogous
#2879A1 #283CA1 #5128A1
triadic
#283CA1 #A1283C #3CA128
tetradic
#283CA1 #A12879 #A18D28 #28A151
square
#283CA1 #A12879 #A18D28 #28A151
split-complementary
#283CA1 #A15128 #79A128
monochromatic
#10173F #1C2A70 #283CA1 #3951CE #6A7CDA

Accessibility & contrast

On white

9.33
#283CA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#283CA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283CA1
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283CA1#FFFFFF#000000##FFFFFF
##283CA11.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA4
Deuteranopia (green-blind)
#00419F
Tritanopia (blue-blind)
#005668
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #283ca1;
/* rgb */ color: rgb(40, 60, 161);
/* oklch */ color: oklch(40.8% 0.164 269.1);
Tailwind
colors: {
  custom: {
    50: '#7471be',
    500: '#283ca1',
    950: '#000000',
  },
}
SCSS
$custom: #283ca1;
$custom-light: #7471be;
$custom-dark: #000000;
JSON
{
  "hex": "#283ca1",
  "rgb": {
    "r": 40,
    "g": 60,
    "b": 161
  },
  "hsl": {
    "h": 230.083,
    "s": 60.199,
    "l": 39.412
  },
  "oklch": {
    "l": 0.40816,
    "c": 0.1644,
    "h": 269.1
  },
  "luminance": 0.06256
}

Semantic roles & 50–950 ramp

primary
#283CA1
secondary
#C0B165
accent
#C944E3
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #283CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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