#283FA5#283FA5

#283FA5 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.8% C 0.166 H 268.3°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#283FA5
RGBrgb(40, 63, 165)
HSLhsl(229, 61%, 40%)
HSVhsv(229, 76%, 65%)
CMYKcmyk(75.8%, 61.8%, 0%, 35.3%)
CIE-LABlab(31.16, 28.27, -57.48)
CIE-LCHlch(31.16, 64.05, 296.19°)
OKLaboklab(41.75% -0.0048 -0.1661)
OKLCHoklch(41.75% 0.166 268.3)
XYZxyz(9.4418, 6.7217, 36.3898)
Luminance0.0672 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283FA5 #A58E28
analogous
#287DA5 #283FA5 #4F28A5
triadic
#283FA5 #A5283F #3FA528
tetradic
#283FA5 #A5287D #A58E28 #28A54F
square
#283FA5 #A5287D #A58E28 #28A54F
split-complementary
#283FA5 #A54F28 #7DA528
monochromatic
#101942 #1C2C74 #283FA5 #3B56CF #6C81DB

Accessibility & contrast

On white

8.96
#283FA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#283FA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283FA5
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283FA5#FFFFFF#000000##FFFFFF
##283FA51.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA8
Deuteranopia (green-blind)
#0044A3
Tritanopia (blue-blind)
#00596C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #283fa5;
/* rgb */ color: rgb(40, 63, 165);
/* oklch */ color: oklch(41.8% 0.166 268.3);
Tailwind
colors: {
  custom: {
    50: '#7573c1',
    500: '#283fa5',
    950: '#000000',
  },
}
SCSS
$custom: #283fa5;
$custom-light: #7573c1;
$custom-dark: #000000;
JSON
{
  "hex": "#283fa5",
  "rgb": {
    "r": 40,
    "g": 63,
    "b": 165
  },
  "hsl": {
    "h": 228.96,
    "s": 60.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.4175,
    "c": 0.16613,
    "h": 268.3
  },
  "luminance": 0.06723
}

Semantic roles & 50–950 ramp

primary
#283FA5
secondary
#C2B167
accent
#C744E4
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #283FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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