#283CAA#283CAA

#283CAA is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.6% C 0.176 H 269.0°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#283CAA
RGBrgb(40, 60, 170)
HSLhsl(231, 62%, 41%)
HSVhsv(231, 76%, 67%)
CMYKcmyk(76.5%, 64.7%, 0%, 33.3%)
CIE-LABlab(30.84, 32.11, -61.01)
CIE-LCHlch(30.84, 68.94, 297.76°)
OKLaboklab(41.65% -0.003 -0.1764)
OKLCHoklch(41.65% 0.176 269)
XYZxyz(9.7441, 6.5840, 38.7797)
Luminance0.0659 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283CAA #AA9628
analogous
#287DAA #283CAA #5528AA
triadic
#283CAA #AA283C #3CAA28
tetradic
#283CAA #AA287D #AA9628 #28AA55
square
#283CAA #AA287D #AA9628 #28AA55
split-complementary
#283CAA #AA5528 #7DAA28
monochromatic
#111947 #1C2B78 #283CAA #3E54D2 #6F80DD

Accessibility & contrast

On white

9.06
#283CAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#283CAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283CAA
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283CAA#FFFFFF#000000##FFFFFF
##283CAA1.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAE
Deuteranopia (green-blind)
#0043A8
Tritanopia (blue-blind)
#00596D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #283caa;
/* rgb */ color: rgb(40, 60, 170);
/* oklch */ color: oklch(41.6% 0.176 269.0);
Tailwind
colors: {
  custom: {
    50: '#7771c4',
    500: '#283caa',
    950: '#000000',
  },
}
SCSS
$custom: #283caa;
$custom-light: #7771c4;
$custom-dark: #000000;
JSON
{
  "hex": "#283caa",
  "rgb": {
    "r": 40,
    "g": 60,
    "b": 170
  },
  "hsl": {
    "h": 230.769,
    "s": 61.905,
    "l": 41.176
  },
  "oklch": {
    "l": 0.41646,
    "c": 0.17648,
    "h": 269
  },
  "luminance": 0.06585
}

Semantic roles & 50–950 ramp

primary
#283CAA
secondary
#C4B66A
accent
#CC43E5
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #283CAA

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

Preview Lab → · Contrast checker → · Palette generator →

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