#283F83#283F83

#283F83 is a dark, moderate blue. Relative luminance 0.056; OKLCH L 38.9% C 0.118 H 266.8°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#283F83
RGBrgb(40, 63, 131)
HSLhsl(225, 53%, 34%)
HSVhsv(225, 69%, 51%)
CMYKcmyk(69.5%, 51.9%, 0%, 48.6%)
CIE-LABlab(28.50, 15.24, -41.00)
CIE-LCHlch(28.50, 43.74, 290.39°)
OKLaboklab(38.91% -0.0066 -0.1176)
OKLCHoklch(38.91% 0.118 266.8)
XYZxyz(6.7479, 5.6442, 22.2021)
Luminance0.0565 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283F83 #836C28
analogous
#286C83 #283F83 #3E2883
triadic
#283F83 #83283F #3F8328
tetradic
#283F83 #83286C #836C28 #28833E
square
#283F83 #83286C #836C28 #28833E
split-complementary
#283F83 #833E28 #6C8328
monochromatic
#0B1225 #1A2854 #283F83 #3656B2 #5976CC

Accessibility & contrast

On white

9.86
#283F83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#283F83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283F83
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283F83#FFFFFF#000000##FFFFFF
##283F831.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184885
Deuteranopia (green-blind)
#003F82
Tritanopia (blue-blind)
#004F5B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #283f83;
/* rgb */ color: rgb(40, 63, 131);
/* oklch */ color: oklch(38.9% 0.118 266.8);
Tailwind
colors: {
  custom: {
    50: '#6d73a7',
    500: '#283f83',
    950: '#000000',
  },
}
SCSS
$custom: #283f83;
$custom-light: #6d73a7;
$custom-dark: #000000;
JSON
{
  "hex": "#283f83",
  "rgb": {
    "r": 40,
    "g": 63,
    "b": 131
  },
  "hsl": {
    "h": 224.835,
    "s": 53.216,
    "l": 33.529
  },
  "oklch": {
    "l": 0.38908,
    "c": 0.11781,
    "h": 266.8
  },
  "luminance": 0.05645
}

Semantic roles & 50–950 ramp

primary
#283F83
secondary
#B19A55
accent
#B84BDD
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #283F83

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

Preview Lab → · Contrast checker → · Palette generator →

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