#283EA2#283EA2

#283EA2 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.3% C 0.163 H 268.6°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#283EA2
RGBrgb(40, 62, 162)
HSLhsl(229, 60%, 40%)
HSVhsv(229, 75%, 64%)
CMYKcmyk(75.3%, 61.7%, 0%, 36.5%)
CIE-LABlab(30.65, 27.80, -56.51)
CIE-LCHlch(30.65, 62.98, 296.20°)
OKLaboklab(41.29% -0.0041 -0.1632)
OKLCHoklch(41.29% 0.163 268.6)
XYZxyz(9.1170, 6.5040, 34.9503)
Luminance0.0650 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283EA2 #A28C28
analogous
#287BA2 #283EA2 #4F28A2
triadic
#283EA2 #A2283E #3EA228
tetradic
#283EA2 #A2287B #A28C28 #28A24F
square
#283EA2 #A2287B #A28C28 #28A24F
split-complementary
#283EA2 #A24F28 #7BA228
monochromatic
#101840 #1C2B71 #283EA2 #3954CE #6A7EDA

Accessibility & contrast

On white

9.13
#283EA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #283EA2
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283EA2#FFFFFF#000000##FFFFFF
##283EA21.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA5
Deuteranopia (green-blind)
#0043A0
Tritanopia (blue-blind)
#00586A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #283ea2;
/* rgb */ color: rgb(40, 62, 162);
/* oklch */ color: oklch(41.3% 0.163 268.6);
Tailwind
colors: {
  custom: {
    50: '#7573be',
    500: '#283ea2',
    950: '#000000',
  },
}
SCSS
$custom: #283ea2;
$custom-light: #7573be;
$custom-dark: #000000;
JSON
{
  "hex": "#283ea2",
  "rgb": {
    "r": 40,
    "g": 62,
    "b": 162
  },
  "hsl": {
    "h": 229.18,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.41289,
    "c": 0.16329,
    "h": 268.6
  },
  "luminance": 0.06505
}

Semantic roles & 50–950 ramp

primary
#283EA2
secondary
#C1B065
accent
#C744E4
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #283EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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