#283DAA#283DAA

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

Color values

HEX#283DAA
RGBrgb(40, 61, 170)
HSLhsl(230, 62%, 41%)
HSVhsv(230, 76%, 67%)
CMYKcmyk(76.5%, 64.1%, 0%, 33.3%)
CIE-LABlab(31.09, 31.46, -60.60)
CIE-LCHlch(31.09, 68.28, 297.44°)
OKLaboklab(41.83% -0.0036 -0.1752)
OKLCHoklch(41.83% 0.175 268.8)
XYZxyz(9.7970, 6.6898, 38.7973)
Luminance0.0669 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283DAA #AA9528
analogous
#287EAA #283DAA #5428AA
triadic
#283DAA #AA283D #3DAA28
tetradic
#283DAA #AA287E #AA9528 #28AA54
square
#283DAA #AA287E #AA9528 #28AA54
split-complementary
#283DAA #AA5428 #7EAA28
monochromatic
#111947 #1C2B78 #283DAA #3E56D2 #6F81DD

Accessibility & contrast

On white

8.98
#283DAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #283DAA
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283DAA#FFFFFF#000000##FFFFFF
##283DAA1.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAD
Deuteranopia (green-blind)
#0043A8
Tritanopia (blue-blind)
#005A6E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #283daa;
/* rgb */ color: rgb(40, 61, 170);
/* oklch */ color: oklch(41.8% 0.175 268.8);
Tailwind
colors: {
  custom: {
    50: '#7772c4',
    500: '#283daa',
    950: '#000000',
  },
}
SCSS
$custom: #283daa;
$custom-light: #7772c4;
$custom-dark: #000000;
JSON
{
  "hex": "#283daa",
  "rgb": {
    "r": 40,
    "g": 61,
    "b": 170
  },
  "hsl": {
    "h": 230.308,
    "s": 61.905,
    "l": 41.176
  },
  "oklch": {
    "l": 0.41829,
    "c": 0.17528,
    "h": 268.8
  },
  "luminance": 0.06691
}

Semantic roles & 50–950 ramp

primary
#283DAA
secondary
#C4B56A
accent
#CB43E5
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #283DAA

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

Preview Lab → · Contrast checker → · Palette generator →

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