#283A79#283A79

#283A79 is a dark, moderate blue. Relative luminance 0.049; OKLCH L 37.0% C 0.110 H 268.6°. Best body text is #FFFFFF at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#283A79
RGBrgb(40, 58, 121)
HSLhsl(227, 50%, 32%)
HSVhsv(227, 67%, 47%)
CMYKcmyk(66.9%, 52.1%, 0%, 52.5%)
CIE-LABlab(26.32, 14.85, -38.23)
CIE-LCHlch(26.32, 41.01, 291.23°)
OKLaboklab(37.03% -0.0027 -0.1096)
OKLCHoklch(37.03% 0.11 268.6)
XYZxyz(5.8381, 4.8572, 18.7153)
Luminance0.0486 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283A79 #796728
analogous
#286379 #283A79 #3F2879
triadic
#283A79 #79283A #3A7928
tetradic
#283A79 #792863 #796728 #28793F
square
#283A79 #792863 #796728 #28793F
split-complementary
#283A79 #793F28 #637928
monochromatic
#0A0E1D #19244B #283A79 #3750A7 #556EC7

Accessibility & contrast

On white

10.65
#283A79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#283A79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283A79
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283A79#FFFFFF#000000##FFFFFF
##283A791.0010.651.9710.65
#FFFFFF10.651.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17427B
Deuteranopia (green-blind)
#023B78
Tritanopia (blue-blind)
#004953
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #283a79;
/* rgb */ color: rgb(40, 58, 121);
/* oklch */ color: oklch(37.0% 0.110 268.6);
Tailwind
colors: {
  custom: {
    50: '#6b6fa0',
    500: '#283a79',
    950: '#000000',
  },
}
SCSS
$custom: #283a79;
$custom-light: #6b6fa0;
$custom-dark: #000000;
JSON
{
  "hex": "#283a79",
  "rgb": {
    "r": 40,
    "g": 58,
    "b": 121
  },
  "hsl": {
    "h": 226.667,
    "s": 50.311,
    "l": 31.569
  },
  "oklch": {
    "l": 0.3703,
    "c": 0.10959,
    "h": 268.6
  },
  "luminance": 0.04858
}

Semantic roles & 50–950 ramp

primary
#283A79
secondary
#AB9752
accent
#BB4EDA
background
#F6F6F9
surface
#ECECF2
border
#C7C7CC
text
#07070F
muted
#7A7A7E

Preview Lab

Preview with #283A79

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

Preview Lab → · Contrast checker → · Palette generator →

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