#283EA1#283EA1

#283EA1 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.2% C 0.162 H 268.5°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#283EA1
RGBrgb(40, 62, 161)
HSLhsl(229, 60%, 39%)
HSVhsv(229, 75%, 63%)
CMYKcmyk(75.2%, 61.5%, 0%, 36.9%)
CIE-LABlab(30.57, 27.43, -56.04)
CIE-LCHlch(30.57, 62.39, 296.08°)
OKLaboklab(41.2% -0.0041 -0.1619)
OKLCHoklch(41.2% 0.162 268.5)
XYZxyz(9.0285, 6.4686, 34.4840)
Luminance0.0647 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283EA1 #A18B28
analogous
#287BA1 #283EA1 #4F28A1
triadic
#283EA1 #A1283E #3EA128
tetradic
#283EA1 #A1287B #A18B28 #28A14F
square
#283EA1 #A1287B #A18B28 #28A14F
split-complementary
#283EA1 #A14F28 #7BA128
monochromatic
#10183F #1C2B70 #283EA1 #3954CE #6A7EDA

Accessibility & contrast

On white

9.15
#283EA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#283EA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283EA1
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283EA1#FFFFFF#000000##FFFFFF
##283EA11.009.152.299.15
#FFFFFF9.151.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA4
Deuteranopia (green-blind)
#00429F
Tritanopia (blue-blind)
#005769
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #283ea1;
/* rgb */ color: rgb(40, 62, 161);
/* oklch */ color: oklch(41.2% 0.162 268.5);
Tailwind
colors: {
  custom: {
    50: '#7473be',
    500: '#283ea1',
    950: '#000000',
  },
}
SCSS
$custom: #283ea1;
$custom-light: #7473be;
$custom-dark: #000000;
JSON
{
  "hex": "#283ea1",
  "rgb": {
    "r": 40,
    "g": 62,
    "b": 161
  },
  "hsl": {
    "h": 229.091,
    "s": 60.199,
    "l": 39.412
  },
  "oklch": {
    "l": 0.412,
    "c": 0.16192,
    "h": 268.5
  },
  "luminance": 0.0647
}

Semantic roles & 50–950 ramp

primary
#283EA1
secondary
#C0B065
accent
#C644E3
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #283EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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