#283D95#283D95

#283D95 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.0% C 0.147 H 268.6°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#283D95
RGBrgb(40, 61, 149)
HSLhsl(228, 58%, 37%)
HSVhsv(228, 73%, 58%)
CMYKcmyk(73.2%, 59.1%, 0%, 41.6%)
CIE-LABlab(29.31, 23.54, -50.80)
CIE-LCHlch(29.31, 55.99, 294.86°)
OKLaboklab(39.95% -0.0035 -0.1465)
OKLCHoklch(39.95% 0.147 268.6)
XYZxyz(7.9668, 5.9577, 29.1580)
Luminance0.0596 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283D95 #958028
analogous
#287495 #283D95 #492895
triadic
#283D95 #95283D #3D9528
tetradic
#283D95 #952874 #958028 #289549
square
#283D95 #952874 #958028 #289549
split-complementary
#283D95 #954928 #749528
monochromatic
#0E1535 #1B2965 #283D95 #3551C5 #6278D5

Accessibility & contrast

On white

9.58
#283D95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #283D95
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283D95#FFFFFF#000000##FFFFFF
##283D951.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A98
Deuteranopia (green-blind)
#004093
Tritanopia (blue-blind)
#005363
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #283d95;
/* rgb */ color: rgb(40, 61, 149);
/* oklch */ color: oklch(40.0% 0.147 268.6);
Tailwind
colors: {
  custom: {
    50: '#7272b5',
    500: '#283d95',
    950: '#000000',
  },
}
SCSS
$custom: #283d95;
$custom-light: #7272b5;
$custom-dark: #000000;
JSON
{
  "hex": "#283d95",
  "rgb": {
    "r": 40,
    "g": 61,
    "b": 149
  },
  "hsl": {
    "h": 228.44,
    "s": 57.672,
    "l": 37.059
  },
  "oklch": {
    "l": 0.39952,
    "c": 0.14653,
    "h": 268.6
  },
  "luminance": 0.05959
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #283D95

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

Preview Lab → · Contrast checker → · Palette generator →

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