#283A6B#283A6B

#283A6B is a dark, moderate blue. Relative luminance 0.045; OKLCH L 36.0% C 0.088 H 266.8°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#283A6B
RGBrgb(40, 58, 107)
HSLhsl(224, 46%, 29%)
HSVhsv(224, 63%, 42%)
CMYKcmyk(62.6%, 45.8%, 0%, 58%)
CIE-LABlab(25.38, 9.51, -30.83)
CIE-LCHlch(25.38, 32.27, 287.14°)
OKLaboklab(36% -0.0049 -0.0878)
OKLCHoklch(36% 0.088 266.8)
XYZxyz(5.0411, 4.5383, 14.5174)
Luminance0.0454 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283A6B #6B5928
analogous
#285C6B #283A6B #38286B
triadic
#283A6B #6B283A #3A6B28
tetradic
#283A6B #6B285C #6B5928 #286B38
square
#283A6B #6B285C #6B5928 #286B38
split-complementary
#283A6B #6B3828 #5C6B28
monochromatic
#080C16 #17223E #283A6B #395298 #506DBE

Accessibility & contrast

On white

11.01
#283A6B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#283A6B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283A6B
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283A6B#FFFFFF#000000##FFFFFF
##283A6B1.0011.011.9111.01
#FFFFFF11.011.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#243F6D
Deuteranopia (green-blind)
#1B396A
Tritanopia (blue-blind)
#00454D
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #283a6b;
/* rgb */ color: rgb(40, 58, 107);
/* oklch */ color: oklch(36.0% 0.088 266.8);
Tailwind
colors: {
  custom: {
    50: '#696f96',
    500: '#283a6b',
    950: '#000000',
  },
}
SCSS
$custom: #283a6b;
$custom-light: #696f96;
$custom-dark: #000000;
JSON
{
  "hex": "#283a6b",
  "rgb": {
    "r": 40,
    "g": 58,
    "b": 107
  },
  "hsl": {
    "h": 223.881,
    "s": 45.578,
    "l": 28.824
  },
  "oklch": {
    "l": 0.36002,
    "c": 0.08796,
    "h": 266.8
  },
  "luminance": 0.04539
}

Semantic roles & 50–950 ramp

primary
#283A6B
secondary
#9D8951
accent
#B253D5
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#07070D
muted
#7A7A7E

Preview Lab

Preview with #283A6B

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

Preview Lab → · Contrast checker → · Palette generator →

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