#283F7E#283F7E

#283F7E is a dark, moderate blue. Relative luminance 0.055; OKLCH L 38.5% C 0.110 H 266.2°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#283F7E
RGBrgb(40, 63, 126)
HSLhsl(224, 52%, 33%)
HSVhsv(224, 68%, 49%)
CMYKcmyk(68.3%, 50%, 0%, 50.6%)
CIE-LABlab(28.15, 13.31, -38.44)
CIE-LCHlch(28.15, 40.68, 289.10°)
OKLaboklab(38.53% -0.0072 -0.1101)
OKLCHoklch(38.53% 0.11 266.2)
XYZxyz(6.4172, 5.5119, 20.4603)
Luminance0.0551 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283F7E #7E6728
analogous
#286A7E #283F7E #3C287E
triadic
#283F7E #7E283F #3F7E28
tetradic
#283F7E #7E286A #7E6728 #287E3C
square
#283F7E #7E286A #7E6728 #287E3C
split-complementary
#283F7E #7E3C28 #6A7E28
monochromatic
#0B1121 #192850 #283F7E #3756AC #5776CA

Accessibility & contrast

On white

9.99
#283F7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#283F7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283F7E
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283F7E#FFFFFF#000000##FFFFFF
##283F7E1.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4780
Deuteranopia (green-blind)
#0A3F7D
Tritanopia (blue-blind)
#004E58
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #283f7e;
/* rgb */ color: rgb(40, 63, 126);
/* oklch */ color: oklch(38.5% 0.110 266.2);
Tailwind
colors: {
  custom: {
    50: '#6c73a4',
    500: '#283f7e',
    950: '#000000',
  },
}
SCSS
$custom: #283f7e;
$custom-light: #6c73a4;
$custom-dark: #000000;
JSON
{
  "hex": "#283f7e",
  "rgb": {
    "r": 40,
    "g": 63,
    "b": 126
  },
  "hsl": {
    "h": 223.953,
    "s": 51.807,
    "l": 32.549
  },
  "oklch": {
    "l": 0.38529,
    "c": 0.11034,
    "h": 266.2
  },
  "luminance": 0.05512
}

Semantic roles & 50–950 ramp

primary
#283F7E
secondary
#AF9653
accent
#B54DDB
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #283F7E

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

Preview Lab → · Contrast checker → · Palette generator →

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