#283EA4#283EA4

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

Color values

HEX#283EA4
RGBrgb(40, 62, 164)
HSLhsl(229, 61%, 40%)
HSVhsv(229, 76%, 64%)
CMYKcmyk(75.6%, 62.2%, 0%, 35.7%)
CIE-LABlab(30.82, 28.56, -57.44)
CIE-LCHlch(30.82, 64.14, 296.44°)
OKLaboklab(41.47% -0.0041 -0.166)
OKLCHoklch(41.47% 0.166 268.6)
XYZxyz(9.2962, 6.5757, 35.8941)
Luminance0.0658 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283EA4 #A48E28
analogous
#287CA4 #283EA4 #5028A4
triadic
#283EA4 #A4283E #3EA428
tetradic
#283EA4 #A4287C #A48E28 #28A450
square
#283EA4 #A4287C #A48E28 #28A450
split-complementary
#283EA4 #A45028 #7CA428
monochromatic
#101942 #1C2B73 #283EA4 #3A55CF #6B7FDB

Accessibility & contrast

On white

9.07
#283EA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #283EA4
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283EA4#FFFFFF#000000##FFFFFF
##283EA41.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #283ea4;
/* rgb */ color: rgb(40, 62, 164);
/* oklch */ color: oklch(41.5% 0.166 268.6);
Tailwind
colors: {
  custom: {
    50: '#7573c0',
    500: '#283ea4',
    950: '#000000',
  },
}
SCSS
$custom: #283ea4;
$custom-light: #7573c0;
$custom-dark: #000000;
JSON
{
  "hex": "#283ea4",
  "rgb": {
    "r": 40,
    "g": 62,
    "b": 164
  },
  "hsl": {
    "h": 229.355,
    "s": 60.784,
    "l": 40
  },
  "oklch": {
    "l": 0.41469,
    "c": 0.16601,
    "h": 268.6
  },
  "luminance": 0.06577
}

Semantic roles & 50–950 ramp

primary
#283EA4
secondary
#C1B166
accent
#C844E4
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #283EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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