#283AAC#283AAC

#283AAC is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.5% C 0.181 H 269.4°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#283AAC
RGBrgb(40, 58, 172)
HSLhsl(232, 62%, 42%)
HSVhsv(232, 77%, 67%)
CMYKcmyk(76.7%, 66.3%, 0%, 32.5%)
CIE-LABlab(30.53, 34.15, -62.71)
CIE-LCHlch(30.53, 71.41, 298.57°)
OKLaboklab(41.48% -0.0019 -0.1814)
OKLCHoklch(41.48% 0.181 269.4)
XYZxyz(9.8320, 6.4547, 39.7494)
Luminance0.0646 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283AAC #AC9A28
analogous
#287CAC #283AAC #5828AC
triadic
#283AAC #AC283A #3AAC28
tetradic
#283AAC #AC287C #AC9A28 #28AC58
square
#283AAC #AC287C #AC9A28 #28AC58
split-complementary
#283AAC #AC5828 #7CAC28
monochromatic
#111949 #1C297A #283AAC #3F53D2 #717FDE

Accessibility & contrast

On white

9.17
#283AAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #283AAC
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283AAC#FFFFFF#000000##FFFFFF
##283AAC1.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB0
Deuteranopia (green-blind)
#0042AA
Tritanopia (blue-blind)
#00586E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #283aac;
/* rgb */ color: rgb(40, 58, 172);
/* oklch */ color: oklch(41.5% 0.181 269.4);
Tailwind
colors: {
  custom: {
    50: '#7770c6',
    500: '#283aac',
    950: '#000000',
  },
}
SCSS
$custom: #283aac;
$custom-light: #7770c6;
$custom-dark: #000000;
JSON
{
  "hex": "#283aac",
  "rgb": {
    "r": 40,
    "g": 58,
    "b": 172
  },
  "hsl": {
    "h": 231.818,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.41475,
    "c": 0.18146,
    "h": 269.4
  },
  "luminance": 0.06456
}

Semantic roles & 50–950 ramp

primary
#283AAC
secondary
#C5B96B
accent
#CF42E5
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #283AAC

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

Preview Lab → · Contrast checker → · Palette generator →

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