#283B8B#283B8B

#283B8B is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.7% C 0.135 H 269.1°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#283B8B
RGBrgb(40, 59, 139)
HSLhsl(228, 55%, 35%)
HSVhsv(228, 71%, 55%)
CMYKcmyk(71.2%, 57.6%, 0%, 45.5%)
CIE-LABlab(27.96, 21.07, -46.83)
CIE-LCHlch(27.96, 51.36, 294.22°)
OKLaboklab(38.69% -0.0022 -0.1349)
OKLCHoklch(38.69% 0.135 269.1)
XYZxyz(7.0976, 5.4424, 25.0975)
Luminance0.0544 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283B8B #8B7828
analogous
#286C8B #283B8B #47288B
triadic
#283B8B #8B283B #3B8B28
tetradic
#283B8B #8B286C #8B7828 #288B47
square
#283B8B #8B286C #8B7828 #288B47
split-complementary
#283B8B #8B4728 #6C8B28
monochromatic
#0D132C #1A275B #283B8B #364FBB #5D73D0

Accessibility & contrast

On white

10.05
#283B8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#283B8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283B8B
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283B8B#FFFFFF#000000##FFFFFF
##283B8B1.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478E
Deuteranopia (green-blind)
#003E89
Tritanopia (blue-blind)
#004E5D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #283b8b;
/* rgb */ color: rgb(40, 59, 139);
/* oklch */ color: oklch(38.7% 0.135 269.1);
Tailwind
colors: {
  custom: {
    50: '#6f70ae',
    500: '#283b8b',
    950: '#000000',
  },
}
SCSS
$custom: #283b8b;
$custom-light: #6f70ae;
$custom-dark: #000000;
JSON
{
  "hex": "#283b8b",
  "rgb": {
    "r": 40,
    "g": 59,
    "b": 139
  },
  "hsl": {
    "h": 228.485,
    "s": 55.307,
    "l": 35.098
  },
  "oklch": {
    "l": 0.38694,
    "c": 0.13488,
    "h": 269.1
  },
  "luminance": 0.05443
}

Semantic roles & 50–950 ramp

primary
#283B8B
secondary
#B6A459
accent
#C249DF
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #283B8B

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

Preview Lab → · Contrast checker → · Palette generator →

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