#283A8D#283A8D

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

Color values

HEX#283A8D
RGBrgb(40, 58, 141)
HSLhsl(229, 56%, 35%)
HSVhsv(229, 72%, 55%)
CMYKcmyk(71.6%, 58.9%, 0%, 44.7%)
CIE-LABlab(27.84, 22.52, -48.26)
CIE-LCHlch(27.84, 53.25, 295.02°)
OKLaboklab(38.66% -0.0012 -0.1391)
OKLCHoklch(38.66% 0.139 269.5)
XYZxyz(7.1942, 5.3996, 25.8572)
Luminance0.0540 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283A8D #8D7B28
analogous
#286C8D #283A8D #48288D
triadic
#283A8D #8D283A #3A8D28
tetradic
#283A8D #8D286C #8D7B28 #288D48
square
#283A8D #8D286C #8D7B28 #288D48
split-complementary
#283A8D #8D4828 #6C8D28
monochromatic
#0D132E #1A265D #283A8D #364EBD #5E73D1

Accessibility & contrast

On white

10.10
#283A8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #283A8D
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283A8D#FFFFFF#000000##FFFFFF
##283A8D1.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004790
Deuteranopia (green-blind)
#003D8B
Tritanopia (blue-blind)
#004E5D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #283a8d;
/* rgb */ color: rgb(40, 58, 141);
/* oklch */ color: oklch(38.7% 0.139 269.5);
Tailwind
colors: {
  custom: {
    50: '#706faf',
    500: '#283a8d',
    950: '#000000',
  },
}
SCSS
$custom: #283a8d;
$custom-light: #706faf;
$custom-dark: #000000;
JSON
{
  "hex": "#283a8d",
  "rgb": {
    "r": 40,
    "g": 58,
    "b": 141
  },
  "hsl": {
    "h": 229.307,
    "s": 55.801,
    "l": 35.49
  },
  "oklch": {
    "l": 0.38657,
    "c": 0.13907,
    "h": 269.5
  },
  "luminance": 0.054
}

Semantic roles & 50–950 ramp

primary
#283A8D
secondary
#B7A65A
accent
#C449DF
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #283A8D

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

Preview Lab → · Contrast checker → · Palette generator →

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