#283F79#283F79

#283F79 is a dark, moderate blue. Relative luminance 0.054; OKLCH L 38.2% C 0.103 H 265.5°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#283F79
RGBrgb(40, 63, 121)
HSLhsl(223, 50%, 32%)
HSVhsv(223, 67%, 47%)
CMYKcmyk(66.9%, 47.9%, 0%, 52.5%)
CIE-LABlab(27.81, 11.39, -35.85)
CIE-LCHlch(27.81, 37.61, 287.63°)
OKLaboklab(38.16% -0.008 -0.1025)
OKLCHoklch(38.16% 0.103 265.5)
XYZxyz(6.1026, 5.3860, 18.8035)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283F79 #796228
analogous
#286879 #283F79 #3A2879
triadic
#283F79 #79283F #3F7928
tetradic
#283F79 #792868 #796228 #28793A
square
#283F79 #792868 #796228 #28793A
split-complementary
#283F79 #793A28 #687928
monochromatic
#0A0F1D #19274B #283F79 #3757A7 #5575C7

Accessibility & contrast

On white

10.11
#283F79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#283F79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283F79
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283F79#FFFFFF#000000##FFFFFF
##283F791.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22467B
Deuteranopia (green-blind)
#143E78
Tritanopia (blue-blind)
#004C56
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #283f79;
/* rgb */ color: rgb(40, 63, 121);
/* oklch */ color: oklch(38.2% 0.103 265.5);
Tailwind
colors: {
  custom: {
    50: '#6b73a0',
    500: '#283f79',
    950: '#000000',
  },
}
SCSS
$custom: #283f79;
$custom-light: #6b73a0;
$custom-dark: #000000;
JSON
{
  "hex": "#283f79",
  "rgb": {
    "r": 40,
    "g": 63,
    "b": 121
  },
  "hsl": {
    "h": 222.963,
    "s": 50.311,
    "l": 31.569
  },
  "oklch": {
    "l": 0.38162,
    "c": 0.10278,
    "h": 265.5
  },
  "luminance": 0.05387
}

Semantic roles & 50–950 ramp

primary
#283F79
secondary
#AB9252
accent
#B24EDA
background
#F6F6F9
surface
#ECECF2
border
#C7C7CC
text
#07080F
muted
#7A7B7E

Preview Lab

Preview with #283F79

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

Preview Lab → · Contrast checker → · Palette generator →

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