#283F74#283F74

#283F74 is a dark, moderate blue. Relative luminance 0.053; OKLCH L 37.8% C 0.095 H 264.6°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#283F74
RGBrgb(40, 63, 116)
HSLhsl(222, 49%, 31%)
HSVhsv(222, 66%, 45%)
CMYKcmyk(65.5%, 45.7%, 0%, 54.5%)
CIE-LABlab(27.48, 9.47, -33.21)
CIE-LCHlch(27.48, 34.54, 285.92°)
OKLaboklab(37.81% -0.0089 -0.0947)
OKLCHoklch(37.81% 0.095 264.6)
XYZxyz(5.8039, 5.2666, 17.2303)
Luminance0.0527 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283F74 #745D28
analogous
#286574 #283F74 #372874
triadic
#283F74 #74283F #3F7428
tetradic
#283F74 #742865 #745D28 #287437
square
#283F74 #742865 #745D28 #287437
split-complementary
#283F74 #743728 #657428
monochromatic
#090E19 #182646 #283F74 #3858A2 #5375C4

Accessibility & contrast

On white

10.23
#283F74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#283F74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283F74
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283F74#FFFFFF#000000##FFFFFF
##283F741.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264576
Deuteranopia (green-blind)
#1B3E73
Tritanopia (blue-blind)
#004B53
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #283f74;
/* rgb */ color: rgb(40, 63, 116);
/* oklch */ color: oklch(37.8% 0.095 264.6);
Tailwind
colors: {
  custom: {
    50: '#6a739c',
    500: '#283f74',
    950: '#000000',
  },
}
SCSS
$custom: #283f74;
$custom-light: #6a739c;
$custom-dark: #000000;
JSON
{
  "hex": "#283f74",
  "rgb": {
    "r": 40,
    "g": 63,
    "b": 116
  },
  "hsl": {
    "h": 221.842,
    "s": 48.718,
    "l": 30.588
  },
  "oklch": {
    "l": 0.37806,
    "c": 0.09515,
    "h": 264.6
  },
  "luminance": 0.05267
}

Semantic roles & 50–950 ramp

primary
#283F74
secondary
#A68D52
accent
#AF50D8
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #283F74

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

Preview Lab → · Contrast checker → · Palette generator →

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