#283A83#283A83

#283A83 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 37.8% C 0.125 H 269.2°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#283A83
RGBrgb(40, 58, 131)
HSLhsl(228, 53%, 34%)
HSVhsv(228, 69%, 51%)
CMYKcmyk(69.5%, 55.7%, 0%, 48.6%)
CIE-LABlab(27.06, 18.69, -43.32)
CIE-LCHlch(27.06, 47.18, 293.34°)
OKLaboklab(37.82% -0.0017 -0.1245)
OKLCHoklch(37.82% 0.125 269.2)
XYZxyz(6.4835, 5.1153, 22.1140)
Luminance0.0512 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283A83 #837128
analogous
#286783 #283A83 #432883
triadic
#283A83 #83283A #3A8328
tetradic
#283A83 #832867 #837128 #288343
square
#283A83 #832867 #837128 #288343
split-complementary
#283A83 #834328 #678328
monochromatic
#0B1025 #1A2554 #283A83 #364FB2 #5970CC

Accessibility & contrast

On white

10.38
#283A83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#283A83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283A83
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283A83#FFFFFF#000000##FFFFFF
##283A831.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#044486
Deuteranopia (green-blind)
#003C82
Tritanopia (blue-blind)
#004B58
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #283a83;
/* rgb */ color: rgb(40, 58, 131);
/* oklch */ color: oklch(37.8% 0.125 269.2);
Tailwind
colors: {
  custom: {
    50: '#6e6fa8',
    500: '#283a83',
    950: '#000000',
  },
}
SCSS
$custom: #283a83;
$custom-light: #6e6fa8;
$custom-dark: #000000;
JSON
{
  "hex": "#283a83",
  "rgb": {
    "r": 40,
    "g": 58,
    "b": 131
  },
  "hsl": {
    "h": 228.132,
    "s": 53.216,
    "l": 33.529
  },
  "oklch": {
    "l": 0.37822,
    "c": 0.12454,
    "h": 269.2
  },
  "luminance": 0.05116
}

Semantic roles & 50–950 ramp

primary
#283A83
secondary
#B19F55
accent
#C04BDD
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #283A83

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

Preview Lab → · Contrast checker → · Palette generator →

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