#283A66#283A66

#283A66 is a dark, moderate blue. Relative luminance 0.044; OKLCH L 35.7% C 0.080 H 265.7°. Best body text is #FFFFFF at 11.13:1 contrast (WCAG AA passes).

Color values

HEX#283A66
RGBrgb(40, 58, 102)
HSLhsl(223, 44%, 28%)
HSVhsv(223, 61%, 40%)
CMYKcmyk(60.8%, 43.1%, 0%, 60%)
CIE-LABlab(25.06, 7.63, -28.11)
CIE-LCHlch(25.06, 29.13, 285.18°)
OKLaboklab(35.66% -0.006 -0.0798)
OKLCHoklch(35.66% 0.08 265.7)
XYZxyz(4.7856, 4.4362, 13.1719)
Luminance0.0444 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283A66 #665428
analogous
#285966 #283A66 #352866
triadic
#283A66 #66283A #3A6628
tetradic
#283A66 #662859 #665428 #286635
square
#283A66 #662859 #665428 #286635
split-complementary
#283A66 #663528 #596628
monochromatic
#090C16 #17213A #283A66 #395392 #4F6EBA

Accessibility & contrast

On white

11.13
#283A66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#283A66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283A66
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283A66#FFFFFF#000000##FFFFFF
##283A661.0011.131.8911.13
#FFFFFF11.131.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#273E68
Deuteranopia (green-blind)
#1F3965
Tritanopia (blue-blind)
#00444B
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #283a66;
/* rgb */ color: rgb(40, 58, 102);
/* oklch */ color: oklch(35.7% 0.080 265.7);
Tailwind
colors: {
  custom: {
    50: '#686f92',
    500: '#283a66',
    950: '#000000',
  },
}
SCSS
$custom: #283a66;
$custom-light: #686f92;
$custom-dark: #000000;
JSON
{
  "hex": "#283a66",
  "rgb": {
    "r": 40,
    "g": 58,
    "b": 102
  },
  "hsl": {
    "h": 222.581,
    "s": 43.662,
    "l": 27.843
  },
  "oklch": {
    "l": 0.3566,
    "c": 0.08007,
    "h": 265.7
  },
  "luminance": 0.04437
}

Semantic roles & 50–950 ramp

primary
#283A66
secondary
#998451
accent
#AF54D3
background
#F6F6F9
surface
#EBECF1
border
#C6C7CB
text
#06070D
muted
#7A7A7E

Preview Lab

Preview with #283A66

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

Preview Lab → · Contrast checker → · Palette generator →

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