#283F72#283F72

#283F72 is a dark, moderate blue. Relative luminance 0.052; OKLCH L 37.7% C 0.092 H 264.2°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#283F72
RGBrgb(40, 63, 114)
HSLhsl(221, 48%, 30%)
HSVhsv(221, 65%, 45%)
CMYKcmyk(64.9%, 44.7%, 0%, 55.3%)
CIE-LABlab(27.35, 8.71, -32.15)
CIE-LCHlch(27.35, 33.31, 285.16°)
OKLaboklab(37.67% -0.0093 -0.0916)
OKLCHoklch(37.67% 0.092 264.2)
XYZxyz(5.6888, 5.2205, 16.6242)
Luminance0.0522 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283F72 #725B28
analogous
#286472 #283F72 #362872
triadic
#283F72 #72283F #3F7228
tetradic
#283F72 #722864 #725B28 #287236
square
#283F72 #722864 #725B28 #287236
split-complementary
#283F72 #723628 #647228
monochromatic
#080D17 #182645 #283F72 #38589F #5275C2

Accessibility & contrast

On white

10.27
#283F72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#283F72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283F72
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283F72#FFFFFF#000000##FFFFFF
##283F721.0010.272.0410.27
#FFFFFF10.271.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #283f72;
/* rgb */ color: rgb(40, 63, 114);
/* oklch */ color: oklch(37.7% 0.092 264.2);
Tailwind
colors: {
  custom: {
    50: '#6a739b',
    500: '#283f72',
    950: '#000000',
  },
}
SCSS
$custom: #283f72;
$custom-light: #6a739b;
$custom-dark: #000000;
JSON
{
  "hex": "#283f72",
  "rgb": {
    "r": 40,
    "g": 63,
    "b": 114
  },
  "hsl": {
    "h": 221.351,
    "s": 48.052,
    "l": 30.196
  },
  "oklch": {
    "l": 0.37667,
    "c": 0.09207,
    "h": 264.2
  },
  "luminance": 0.05221
}

Semantic roles & 50–950 ramp

primary
#283F72
secondary
#A48B52
accent
#AE50D8
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #283F72

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

Preview Lab → · Contrast checker → · Palette generator →

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