#283B8F#283B8F

#283B8F is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.0% C 0.141 H 269.2°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#283B8F
RGBrgb(40, 59, 143)
HSLhsl(229, 56%, 36%)
HSVhsv(229, 72%, 56%)
CMYKcmyk(72%, 58.7%, 0%, 43.9%)
CIE-LABlab(28.28, 22.60, -48.79)
CIE-LCHlch(28.28, 53.77, 294.86°)
OKLaboklab(39.03% -0.002 -0.1406)
OKLCHoklch(39.03% 0.141 269.2)
XYZxyz(7.3953, 5.5615, 26.6650)
Luminance0.0556 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283B8F #8F7C28
analogous
#286E8F #283B8F #48288F
triadic
#283B8F #8F283B #3B8F28
tetradic
#283B8F #8F286E #8F7C28 #288F48
square
#283B8F #8F286E #8F7C28 #288F48
split-complementary
#283B8F #8F4828 #6E8F28
monochromatic
#0D142F #1B275F #283B8F #354FBF #5F74D2

Accessibility & contrast

On white

9.94
#283B8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#283B8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283B8F
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283B8F#FFFFFF#000000##FFFFFF
##283B8F1.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004892
Deuteranopia (green-blind)
#003E8D
Tritanopia (blue-blind)
#00505F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #283b8f;
/* rgb */ color: rgb(40, 59, 143);
/* oklch */ color: oklch(39.0% 0.141 269.2);
Tailwind
colors: {
  custom: {
    50: '#7070b0',
    500: '#283b8f',
    950: '#000000',
  },
}
SCSS
$custom: #283b8f;
$custom-light: #7070b0;
$custom-dark: #000000;
JSON
{
  "hex": "#283b8f",
  "rgb": {
    "r": 40,
    "g": 59,
    "b": 143
  },
  "hsl": {
    "h": 228.932,
    "s": 56.284,
    "l": 35.882
  },
  "oklch": {
    "l": 0.39032,
    "c": 0.14061,
    "h": 269.2
  },
  "luminance": 0.05562
}

Semantic roles & 50–950 ramp

primary
#283B8F
secondary
#B8A75B
accent
#C448E0
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#080711
muted
#7B7A80

Preview Lab

Preview with #283B8F

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

Preview Lab → · Contrast checker → · Palette generator →

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