#283AAB#283AAB

#283AAB is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.4% C 0.180 H 269.4°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#283AAB
RGBrgb(40, 58, 171)
HSLhsl(232, 62%, 41%)
HSVhsv(232, 77%, 67%)
CMYKcmyk(76.6%, 66.1%, 0%, 32.9%)
CIE-LABlab(30.44, 33.78, -62.27)
CIE-LCHlch(30.44, 70.84, 298.48°)
OKLaboklab(41.38% -0.0019 -0.1801)
OKLCHoklch(41.38% 0.18 269.4)
XYZxyz(9.7363, 6.4164, 39.2455)
Luminance0.0642 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283AAB #AB9928
analogous
#287CAB #283AAB #5828AB
triadic
#283AAB #AB283A #3AAB28
tetradic
#283AAB #AB287C #AB9928 #28AB58
square
#283AAB #AB287C #AB9928 #28AB58
split-complementary
#283AAB #AB5828 #7CAB28
monochromatic
#111848 #1C2979 #283AAB #3E53D2 #707FDE

Accessibility & contrast

On white

9.20
#283AAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#283AAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283AAB
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283AAB#FFFFFF#000000##FFFFFF
##283AAB1.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAF
Deuteranopia (green-blind)
#0042A9
Tritanopia (blue-blind)
#00586D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #283aab;
/* rgb */ color: rgb(40, 58, 171);
/* oklch */ color: oklch(41.4% 0.180 269.4);
Tailwind
colors: {
  custom: {
    50: '#7770c5',
    500: '#283aab',
    950: '#000000',
  },
}
SCSS
$custom: #283aab;
$custom-light: #7770c5;
$custom-dark: #000000;
JSON
{
  "hex": "#283aab",
  "rgb": {
    "r": 40,
    "g": 58,
    "b": 171
  },
  "hsl": {
    "h": 231.756,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.4138,
    "c": 0.18015,
    "h": 269.4
  },
  "luminance": 0.06418
}

Semantic roles & 50–950 ramp

primary
#283AAB
secondary
#C4B86A
accent
#CF43E5
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #283AAB

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

Preview Lab → · Contrast checker → · Palette generator →

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