#283EA7#283EA7

#283EA7 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.7% C 0.170 H 268.6°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#283EA7
RGBrgb(40, 62, 167)
HSLhsl(230, 61%, 41%)
HSVhsv(230, 76%, 65%)
CMYKcmyk(76%, 62.9%, 0%, 34.5%)
CIE-LABlab(31.08, 29.68, -58.82)
CIE-LCHlch(31.08, 65.88, 296.78°)
OKLaboklab(41.74% -0.0042 -0.17)
OKLCHoklch(41.74% 0.17 268.6)
XYZxyz(9.5703, 6.6853, 37.3377)
Luminance0.0669 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283EA7 #A79128
analogous
#287EA7 #283EA7 #5128A7
triadic
#283EA7 #A7283E #3EA728
tetradic
#283EA7 #A7287E #A79128 #28A751
square
#283EA7 #A7287E #A79128 #28A751
split-complementary
#283EA7 #A75128 #7EA728
monochromatic
#101944 #1C2C76 #283EA7 #3C56D0 #6D80DC

Accessibility & contrast

On white

8.99
#283EA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#283EA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283EA7
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283EA7#FFFFFF#000000##FFFFFF
##283EA71.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAA
Deuteranopia (green-blind)
#0043A5
Tritanopia (blue-blind)
#00596C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #283ea7;
/* rgb */ color: rgb(40, 62, 167);
/* oklch */ color: oklch(41.7% 0.170 268.6);
Tailwind
colors: {
  custom: {
    50: '#7673c2',
    500: '#283ea7',
    950: '#000000',
  },
}
SCSS
$custom: #283ea7;
$custom-light: #7673c2;
$custom-dark: #000000;
JSON
{
  "hex": "#283ea7",
  "rgb": {
    "r": 40,
    "g": 62,
    "b": 167
  },
  "hsl": {
    "h": 229.606,
    "s": 61.353,
    "l": 40.588
  },
  "oklch": {
    "l": 0.4174,
    "c": 0.17006,
    "h": 268.6
  },
  "luminance": 0.06686
}

Semantic roles & 50–950 ramp

primary
#283EA7
secondary
#C3B368
accent
#C943E4
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #283EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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