#283B8A#283B8A

#283B8A is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.6% C 0.133 H 269.0°. Best body text is #FFFFFF at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#283B8A
RGBrgb(40, 59, 138)
HSLhsl(228, 55%, 35%)
HSVhsv(228, 71%, 54%)
CMYKcmyk(71%, 57.2%, 0%, 45.9%)
CIE-LABlab(27.88, 20.69, -46.34)
CIE-LCHlch(27.88, 50.75, 294.06°)
OKLaboklab(38.61% -0.0022 -0.1334)
OKLCHoklch(38.61% 0.133 269)
XYZxyz(7.0249, 5.4133, 24.7145)
Luminance0.0541 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283B8A #8A7728
analogous
#286C8A #283B8A #46288A
triadic
#283B8A #8A283B #3B8A28
tetradic
#283B8A #8A286C #8A7728 #288A46
square
#283B8A #8A286C #8A7728 #288A46
split-complementary
#283B8A #8A4628 #6C8A28
monochromatic
#0C122B #1A275B #283B8A #364FB9 #5D73D0

Accessibility & contrast

On white

10.08
#283B8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#283B8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283B8A
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283B8A#FFFFFF#000000##FFFFFF
##283B8A1.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468D
Deuteranopia (green-blind)
#003D88
Tritanopia (blue-blind)
#004E5C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #283b8a;
/* rgb */ color: rgb(40, 59, 138);
/* oklch */ color: oklch(38.6% 0.133 269.0);
Tailwind
colors: {
  custom: {
    50: '#6f70ad',
    500: '#283b8a',
    950: '#000000',
  },
}
SCSS
$custom: #283b8a;
$custom-light: #6f70ad;
$custom-dark: #000000;
JSON
{
  "hex": "#283b8a",
  "rgb": {
    "r": 40,
    "g": 59,
    "b": 138
  },
  "hsl": {
    "h": 228.367,
    "s": 55.056,
    "l": 34.902
  },
  "oklch": {
    "l": 0.3861,
    "c": 0.13343,
    "h": 269
  },
  "luminance": 0.05414
}

Semantic roles & 50–950 ramp

primary
#283B8A
secondary
#B5A359
accent
#C249DE
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #283B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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