#283EAA#283EAA

#283EAA is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.0% C 0.174 H 268.6°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#283EAA
RGBrgb(40, 62, 170)
HSLhsl(230, 62%, 41%)
HSVhsv(230, 76%, 67%)
CMYKcmyk(76.5%, 63.5%, 0%, 33.3%)
CIE-LABlab(31.34, 30.80, -60.19)
CIE-LCHlch(31.34, 67.61, 297.10°)
OKLaboklab(42.02% -0.0043 -0.174)
OKLCHoklch(42.02% 0.174 268.6)
XYZxyz(9.8509, 6.7976, 38.8153)
Luminance0.0680 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283EAA #AA9428
analogous
#287FAA #283EAA #5328AA
triadic
#283EAA #AA283E #3EAA28
tetradic
#283EAA #AA287F #AA9428 #28AA53
square
#283EAA #AA287F #AA9428 #28AA53
split-complementary
#283EAA #AA5328 #7FAA28
monochromatic
#111A47 #1C2C78 #283EAA #3E57D2 #6F82DD

Accessibility & contrast

On white

8.90
#283EAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#283EAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283EAA
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283EAA#FFFFFF#000000##FFFFFF
##283EAA1.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AD
Deuteranopia (green-blind)
#0044A8
Tritanopia (blue-blind)
#005A6E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #283eaa;
/* rgb */ color: rgb(40, 62, 170);
/* oklch */ color: oklch(42.0% 0.174 268.6);
Tailwind
colors: {
  custom: {
    50: '#7773c4',
    500: '#283eaa',
    950: '#000000',
  },
}
SCSS
$custom: #283eaa;
$custom-light: #7773c4;
$custom-dark: #000000;
JSON
{
  "hex": "#283eaa",
  "rgb": {
    "r": 40,
    "g": 62,
    "b": 170
  },
  "hsl": {
    "h": 229.846,
    "s": 61.905,
    "l": 41.176
  },
  "oklch": {
    "l": 0.42015,
    "c": 0.17407,
    "h": 268.6
  },
  "luminance": 0.06799
}

Semantic roles & 50–950 ramp

primary
#283EAA
secondary
#C4B56A
accent
#CA43E5
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #283EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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