#283A6C#283A6C

#283A6C is a dark, moderate blue. Relative luminance 0.046; OKLCH L 36.1% C 0.090 H 267.0°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#283A6C
RGBrgb(40, 58, 108)
HSLhsl(224, 46%, 29%)
HSVhsv(224, 63%, 42%)
CMYKcmyk(63%, 46.3%, 0%, 57.6%)
CIE-LABlab(25.44, 9.89, -31.37)
CIE-LCHlch(25.44, 32.90, 287.49°)
OKLaboklab(36.07% -0.0047 -0.0894)
OKLCHoklch(36.07% 0.09 267)
XYZxyz(5.0940, 4.5595, 14.7961)
Luminance0.0456 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283A6C #6C5A28
analogous
#285C6C #283A6C #38286C
triadic
#283A6C #6C283A #3A6C28
tetradic
#283A6C #6C285C #6C5A28 #286C38
square
#283A6C #6C285C #6C5A28 #286C38
split-complementary
#283A6C #6C3828 #5C6C28
monochromatic
#080C16 #17223F #283A6C #395299 #506DBE

Accessibility & contrast

On white

10.98
#283A6C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #283A6C
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283A6C#FFFFFF#000000##FFFFFF
##283A6C1.0010.981.9110.98
#FFFFFF10.981.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23406E
Deuteranopia (green-blind)
#1A396B
Tritanopia (blue-blind)
#00454D
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #283a6c;
/* rgb */ color: rgb(40, 58, 108);
/* oklch */ color: oklch(36.1% 0.090 267.0);
Tailwind
colors: {
  custom: {
    50: '#696f96',
    500: '#283a6c',
    950: '#000000',
  },
}
SCSS
$custom: #283a6c;
$custom-light: #696f96;
$custom-dark: #000000;
JSON
{
  "hex": "#283a6c",
  "rgb": {
    "r": 40,
    "g": 58,
    "b": 108
  },
  "hsl": {
    "h": 224.118,
    "s": 45.946,
    "l": 29.02
  },
  "oklch": {
    "l": 0.36073,
    "c": 0.08952,
    "h": 267
  },
  "luminance": 0.0456
}

Semantic roles & 50–950 ramp

primary
#283A6C
secondary
#9E8A51
accent
#B352D6
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#07070D
muted
#7A7A7E

Preview Lab

Preview with #283A6C

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

Preview Lab → · Contrast checker → · Palette generator →

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