#283A77#283A77

#283A77 is a dark, moderate blue. Relative luminance 0.048; OKLCH L 36.9% C 0.107 H 268.4°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#283A77
RGBrgb(40, 58, 119)
HSLhsl(226, 50%, 31%)
HSVhsv(226, 66%, 47%)
CMYKcmyk(66.4%, 51.3%, 0%, 53.3%)
CIE-LABlab(26.18, 14.08, -37.19)
CIE-LCHlch(26.18, 39.77, 290.74°)
OKLaboklab(36.88% -0.0029 -0.1065)
OKLCHoklch(36.88% 0.107 268.4)
XYZxyz(5.7168, 4.8086, 18.0761)
Luminance0.0481 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283A77 #776528
analogous
#286177 #283A77 #3D2877
triadic
#283A77 #77283A #3A7728
tetradic
#283A77 #772861 #776528 #28773D
square
#283A77 #772861 #776528 #28773D
split-complementary
#283A77 #773D28 #617728
monochromatic
#090D1B #192449 #283A77 #3750A5 #546EC5

Accessibility & contrast

On white

10.70
#283A77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #283A77
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283A77#FFFFFF#000000##FFFFFF
##283A771.0010.701.9610.70
#FFFFFF10.701.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194279
Deuteranopia (green-blind)
#073B76
Tritanopia (blue-blind)
#004852
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #283a77;
/* rgb */ color: rgb(40, 58, 119);
/* oklch */ color: oklch(36.9% 0.107 268.4);
Tailwind
colors: {
  custom: {
    50: '#6b6f9f',
    500: '#283a77',
    950: '#000000',
  },
}
SCSS
$custom: #283a77;
$custom-light: #6b6f9f;
$custom-dark: #000000;
JSON
{
  "hex": "#283a77",
  "rgb": {
    "r": 40,
    "g": 58,
    "b": 119
  },
  "hsl": {
    "h": 226.329,
    "s": 49.686,
    "l": 31.176
  },
  "oklch": {
    "l": 0.36878,
    "c": 0.10655,
    "h": 268.4
  },
  "luminance": 0.04809
}

Semantic roles & 50–950 ramp

primary
#283A77
secondary
#A99552
accent
#BA4FD9
background
#F6F6F9
surface
#ECECF2
border
#C7C7CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #283A77

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

Preview Lab → · Contrast checker → · Palette generator →

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