#283EA0#283EA0

#283EA0 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.1% C 0.161 H 268.5°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#283EA0
RGBrgb(40, 62, 160)
HSLhsl(229, 60%, 39%)
HSVhsv(229, 75%, 63%)
CMYKcmyk(75%, 61.2%, 0%, 37.3%)
CIE-LABlab(30.48, 27.05, -55.58)
CIE-LCHlch(30.48, 61.81, 295.95°)
OKLaboklab(41.11% -0.0041 -0.1605)
OKLCHoklch(41.11% 0.161 268.5)
XYZxyz(8.9407, 6.4335, 34.0215)
Luminance0.0643 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283EA0 #A08A28
analogous
#287AA0 #283EA0 #4E28A0
triadic
#283EA0 #A0283E #3EA028
tetradic
#283EA0 #A0287A #A08A28 #28A04E
square
#283EA0 #A0287A #A08A28 #28A04E
split-complementary
#283EA0 #A04E28 #7AA028
monochromatic
#10183E #1C2B6F #283EA0 #3853CD #697ED9

Accessibility & contrast

On white

9.18
#283EA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #283EA0
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283EA0#FFFFFF#000000##FFFFFF
##283EA01.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #283ea0;
/* rgb */ color: rgb(40, 62, 160);
/* oklch */ color: oklch(41.1% 0.161 268.5);
Tailwind
colors: {
  custom: {
    50: '#7473bd',
    500: '#283ea0',
    950: '#000000',
  },
}
SCSS
$custom: #283ea0;
$custom-light: #7473bd;
$custom-dark: #000000;
JSON
{
  "hex": "#283ea0",
  "rgb": {
    "r": 40,
    "g": 62,
    "b": 160
  },
  "hsl": {
    "h": 229,
    "s": 60,
    "l": 39.216
  },
  "oklch": {
    "l": 0.41111,
    "c": 0.16055,
    "h": 268.5
  },
  "luminance": 0.06434
}

Semantic roles & 50–950 ramp

primary
#283EA0
secondary
#C0AF64
accent
#C645E3
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #283EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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