#283EAC#283EAC

#283EAC is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.2% C 0.177 H 268.6°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#283EAC
RGBrgb(40, 62, 172)
HSLhsl(230, 62%, 42%)
HSVhsv(230, 77%, 67%)
CMYKcmyk(76.7%, 64%, 0%, 32.5%)
CIE-LABlab(31.52, 31.55, -61.10)
CIE-LCHlch(31.52, 68.76, 297.31°)
OKLaboklab(42.2% -0.0043 -0.1767)
OKLCHoklch(42.2% 0.177 268.6)
XYZxyz(10.0415, 6.8738, 39.8193)
Luminance0.0688 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283EAC #AC9628
analogous
#2880AC #283EAC #5428AC
triadic
#283EAC #AC283E #3EAC28
tetradic
#283EAC #AC2880 #AC9628 #28AC54
square
#283EAC #AC2880 #AC9628 #28AC54
split-complementary
#283EAC #AC5428 #80AC28
monochromatic
#111A49 #1C2C7A #283EAC #3F57D2 #7183DE

Accessibility & contrast

On white

8.84
#283EAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#283EAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283EAC
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283EAC#FFFFFF#000000##FFFFFF
##283EAC1.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B0
Deuteranopia (green-blind)
#0044AA
Tritanopia (blue-blind)
#005B6F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #283eac;
/* rgb */ color: rgb(40, 62, 172);
/* oklch */ color: oklch(42.2% 0.177 268.6);
Tailwind
colors: {
  custom: {
    50: '#7773c6',
    500: '#283eac',
    950: '#000000',
  },
}
SCSS
$custom: #283eac;
$custom-light: #7773c6;
$custom-dark: #000000;
JSON
{
  "hex": "#283eac",
  "rgb": {
    "r": 40,
    "g": 62,
    "b": 172
  },
  "hsl": {
    "h": 230,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.42199,
    "c": 0.17673,
    "h": 268.6
  },
  "luminance": 0.06875
}

Semantic roles & 50–950 ramp

primary
#283EAC
secondary
#C5B66B
accent
#CA42E5
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #283EAC

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

Preview Lab → · Contrast checker → · Palette generator →

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