#283EA5#283EA5

#283EA5 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.6% C 0.167 H 268.6°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#283EA5
RGBrgb(40, 62, 165)
HSLhsl(229, 61%, 40%)
HSVhsv(229, 76%, 65%)
CMYKcmyk(75.8%, 62.4%, 0%, 35.3%)
CIE-LABlab(30.91, 28.93, -57.90)
CIE-LCHlch(30.91, 64.72, 296.55°)
OKLaboklab(41.56% -0.0041 -0.1673)
OKLCHoklch(41.56% 0.167 268.6)
XYZxyz(9.3869, 6.6120, 36.3715)
Luminance0.0661 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283EA5 #A58F28
analogous
#287CA5 #283EA5 #5028A5
triadic
#283EA5 #A5283E #3EA528
tetradic
#283EA5 #A5287C #A58F28 #28A550
square
#283EA5 #A5287C #A58F28 #28A550
split-complementary
#283EA5 #A55028 #7CA528
monochromatic
#101942 #1C2B74 #283EA5 #3B55CF #6C80DB

Accessibility & contrast

On white

9.04
#283EA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#283EA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283EA5
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283EA5#FFFFFF#000000##FFFFFF
##283EA51.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA8
Deuteranopia (green-blind)
#0043A3
Tritanopia (blue-blind)
#00586B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #283ea5;
/* rgb */ color: rgb(40, 62, 165);
/* oklch */ color: oklch(41.6% 0.167 268.6);
Tailwind
colors: {
  custom: {
    50: '#7573c1',
    500: '#283ea5',
    950: '#000000',
  },
}
SCSS
$custom: #283ea5;
$custom-light: #7573c1;
$custom-dark: #000000;
JSON
{
  "hex": "#283ea5",
  "rgb": {
    "r": 40,
    "g": 62,
    "b": 165
  },
  "hsl": {
    "h": 229.44,
    "s": 60.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.41559,
    "c": 0.16736,
    "h": 268.6
  },
  "luminance": 0.06613
}

Semantic roles & 50–950 ramp

primary
#283EA5
secondary
#C2B267
accent
#C844E4
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #283EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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