#283D94#283D94

#283D94 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.9% C 0.145 H 268.6°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#283D94
RGBrgb(40, 61, 148)
HSLhsl(228, 57%, 37%)
HSVhsv(228, 73%, 58%)
CMYKcmyk(73%, 58.8%, 0%, 42%)
CIE-LABlab(29.22, 23.15, -50.32)
CIE-LCHlch(29.22, 55.39, 294.71°)
OKLaboklab(39.87% -0.0035 -0.1451)
OKLCHoklch(39.87% 0.145 268.6)
XYZxyz(7.8873, 5.9259, 28.7394)
Luminance0.0593 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283D94 #947F28
analogous
#287394 #283D94 #492894
triadic
#283D94 #94283D #3D9428
tetradic
#283D94 #942873 #947F28 #289449
square
#283D94 #942873 #947F28 #289449
split-complementary
#283D94 #944928 #739428
monochromatic
#0E1534 #1B2964 #283D94 #3551C4 #6278D5

Accessibility & contrast

On white

9.61
#283D94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#283D94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283D94
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283D94#FFFFFF#000000##FFFFFF
##283D941.009.612.199.61
#FFFFFF9.611.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A97
Deuteranopia (green-blind)
#004092
Tritanopia (blue-blind)
#005362
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #283d94;
/* rgb */ color: rgb(40, 61, 148);
/* oklch */ color: oklch(39.9% 0.145 268.6);
Tailwind
colors: {
  custom: {
    50: '#7172b4',
    500: '#283d94',
    950: '#000000',
  },
}
SCSS
$custom: #283d94;
$custom-light: #7172b4;
$custom-dark: #000000;
JSON
{
  "hex": "#283d94",
  "rgb": {
    "r": 40,
    "g": 61,
    "b": 148
  },
  "hsl": {
    "h": 228.333,
    "s": 57.447,
    "l": 36.863
  },
  "oklch": {
    "l": 0.39866,
    "c": 0.14512,
    "h": 268.6
  },
  "luminance": 0.05927
}

Semantic roles & 50–950 ramp

primary
#283D94
secondary
#BAA85E
accent
#C347E1
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #283D94

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

Preview Lab → · Contrast checker → · Palette generator →

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