#283F77#283F77

#283F77 is a dark, moderate blue. Relative luminance 0.053; OKLCH L 38.0% C 0.100 H 265.2°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#283F77
RGBrgb(40, 63, 119)
HSLhsl(223, 50%, 31%)
HSVhsv(223, 66%, 47%)
CMYKcmyk(66.4%, 47.1%, 0%, 53.3%)
CIE-LABlab(27.68, 10.62, -34.80)
CIE-LCHlch(27.68, 36.38, 286.98°)
OKLaboklab(38.02% -0.0084 -0.0994)
OKLCHoklch(38.02% 0.1 265.2)
XYZxyz(5.9812, 5.3375, 18.1642)
Luminance0.0534 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283F77 #776028
analogous
#286677 #283F77 #382877
triadic
#283F77 #77283F #3F7728
tetradic
#283F77 #772866 #776028 #287738
square
#283F77 #772866 #776028 #287738
split-complementary
#283F77 #773828 #667728
monochromatic
#090F1B #192749 #283F77 #3757A5 #5475C5

Accessibility & contrast

On white

10.16
#283F77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#283F77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283F77
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283F77#FFFFFF#000000##FFFFFF
##283F771.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244579
Deuteranopia (green-blind)
#173E76
Tritanopia (blue-blind)
#004C55
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #283f77;
/* rgb */ color: rgb(40, 63, 119);
/* oklch */ color: oklch(38.0% 0.100 265.2);
Tailwind
colors: {
  custom: {
    50: '#6b739e',
    500: '#283f77',
    950: '#000000',
  },
}
SCSS
$custom: #283f77;
$custom-light: #6b739e;
$custom-dark: #000000;
JSON
{
  "hex": "#283f77",
  "rgb": {
    "r": 40,
    "g": 63,
    "b": 119
  },
  "hsl": {
    "h": 222.532,
    "s": 49.686,
    "l": 31.176
  },
  "oklch": {
    "l": 0.38018,
    "c": 0.09974,
    "h": 265.2
  },
  "luminance": 0.05338
}

Semantic roles & 50–950 ramp

primary
#283F77
secondary
#A99052
accent
#B14FD9
background
#F6F6F9
surface
#ECECF2
border
#C7C7CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #283F77

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

Preview Lab → · Contrast checker → · Palette generator →

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