#283F7A#283F7A

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

Color values

HEX#283F7A
RGBrgb(40, 63, 122)
HSLhsl(223, 51%, 32%)
HSVhsv(223, 67%, 48%)
CMYKcmyk(67.2%, 48.4%, 0%, 52.2%)
CIE-LABlab(27.87, 11.77, -36.37)
CIE-LCHlch(27.87, 38.23, 287.94°)
OKLaboklab(38.23% -0.0078 -0.104)
OKLCHoklch(38.23% 0.104 265.7)
XYZxyz(6.1642, 5.4107, 19.1281)
Luminance0.0541 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283F7A #7A6328
analogous
#28687A #283F7A #3A287A
triadic
#283F7A #7A283F #3F7A28
tetradic
#283F7A #7A2868 #7A6328 #287A3A
square
#283F7A #7A2868 #7A6328 #287A3A
split-complementary
#283F7A #7A3A28 #687A28
monochromatic
#0A0F1E #19274C #283F7A #3757A8 #5575C7

Accessibility & contrast

On white

10.09
#283F7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #283F7A
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283F7A#FFFFFF#000000##FFFFFF
##283F7A1.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22467C
Deuteranopia (green-blind)
#123E79
Tritanopia (blue-blind)
#004D56
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #283f7a;
/* rgb */ color: rgb(40, 63, 122);
/* oklch */ color: oklch(38.2% 0.104 265.7);
Tailwind
colors: {
  custom: {
    50: '#6b73a1',
    500: '#283f7a',
    950: '#000000',
  },
}
SCSS
$custom: #283f7a;
$custom-light: #6b73a1;
$custom-dark: #000000;
JSON
{
  "hex": "#283f7a",
  "rgb": {
    "r": 40,
    "g": 63,
    "b": 122
  },
  "hsl": {
    "h": 223.171,
    "s": 50.617,
    "l": 31.765
  },
  "oklch": {
    "l": 0.38234,
    "c": 0.10431,
    "h": 265.7
  },
  "luminance": 0.05411
}

Semantic roles & 50–950 ramp

primary
#283F7A
secondary
#AC9352
accent
#B34EDA
background
#F6F6F9
surface
#ECECF2
border
#C7C7CC
text
#07080F
muted
#7A7B7E

Preview Lab

Preview with #283F7A

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

Preview Lab → · Contrast checker → · Palette generator →

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