#283A76#283A76

#283A76 is a dark, moderate blue. Relative luminance 0.048; OKLCH L 36.8% C 0.105 H 268.3°. Best body text is #FFFFFF at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#283A76
RGBrgb(40, 58, 118)
HSLhsl(226, 49%, 31%)
HSVhsv(226, 66%, 46%)
CMYKcmyk(66.1%, 50.8%, 0%, 53.7%)
CIE-LABlab(26.11, 13.70, -36.67)
CIE-LCHlch(26.11, 39.15, 290.48°)
OKLaboklab(36.8% -0.0031 -0.105)
OKLCHoklch(36.8% 0.105 268.3)
XYZxyz(5.6570, 4.7847, 17.7615)
Luminance0.0478 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283A76 #766428
analogous
#286176 #283A76 #3D2876
triadic
#283A76 #76283A #3A7628
tetradic
#283A76 #762861 #766428 #28763D
square
#283A76 #762861 #766428 #28763D
split-complementary
#283A76 #763D28 #617628
monochromatic
#090D1B #192448 #283A76 #3750A4 #546EC5

Accessibility & contrast

On white

10.73
#283A76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#283A76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283A76
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283A76#FFFFFF#000000##FFFFFF
##283A761.0010.731.9610.73
#FFFFFF10.731.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4278
Deuteranopia (green-blind)
#0A3A75
Tritanopia (blue-blind)
#004852
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #283a76;
/* rgb */ color: rgb(40, 58, 118);
/* oklch */ color: oklch(36.8% 0.105 268.3);
Tailwind
colors: {
  custom: {
    50: '#6b6f9e',
    500: '#283a76',
    950: '#000000',
  },
}
SCSS
$custom: #283a76;
$custom-light: #6b6f9e;
$custom-dark: #000000;
JSON
{
  "hex": "#283a76",
  "rgb": {
    "r": 40,
    "g": 58,
    "b": 118
  },
  "hsl": {
    "h": 226.154,
    "s": 49.367,
    "l": 30.98
  },
  "oklch": {
    "l": 0.36802,
    "c": 0.10501,
    "h": 268.3
  },
  "luminance": 0.04785
}

Semantic roles & 50–950 ramp

primary
#283A76
secondary
#A89452
accent
#B94FD9
background
#F6F6F9
surface
#ECECF2
border
#C7C7CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #283A76

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

Preview Lab → · Contrast checker → · Palette generator →

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