#283B5F#283B5F

#283B5F is a dark, moderate blue. Relative luminance 0.044; OKLCH L 35.5% C 0.068 H 262.3°. Best body text is #FFFFFF at 11.16:1 contrast (WCAG AA passes).

Color values

HEX#283B5F
RGBrgb(40, 59, 95)
HSLhsl(219, 41%, 26%)
HSVhsv(219, 58%, 37%)
CMYKcmyk(57.9%, 37.9%, 0%, 62.7%)
CIE-LABlab(24.97, 4.35, -23.73)
CIE-LCHlch(24.97, 24.13, 280.39°)
OKLaboklab(35.45% -0.009 -0.067)
OKLCHoklch(35.45% 0.068 262.3)
XYZxyz(4.5039, 4.4049, 11.4372)
Luminance0.0440 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283B5F #5F4C28
analogous
#28575F #283B5F #31285F
triadic
#283B5F #5F283B #3B5F28
tetradic
#283B5F #5F2857 #5F4C28 #285F31
square
#283B5F #5F2857 #5F4C28 #285F31
split-complementary
#283B5F #5F3128 #575F28
monochromatic
#090D16 #162034 #283B5F #3A568A #4D71B4

Accessibility & contrast

On white

11.16
#283B5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#283B5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283B5F
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283B5F#FFFFFF#000000##FFFFFF
##283B5F1.0011.161.8811.16
#FFFFFF11.161.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3E60
Deuteranopia (green-blind)
#26395E
Tritanopia (blue-blind)
#094348
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #283b5f;
/* rgb */ color: rgb(40, 59, 95);
/* oklch */ color: oklch(35.5% 0.068 262.3);
Tailwind
colors: {
  custom: {
    50: '#66708c',
    500: '#283b5f',
    950: '#000000',
  },
}
SCSS
$custom: #283b5f;
$custom-light: #66708c;
$custom-dark: #000000;
JSON
{
  "hex": "#283b5f",
  "rgb": {
    "r": 40,
    "g": 59,
    "b": 95
  },
  "hsl": {
    "h": 219.273,
    "s": 40.741,
    "l": 26.471
  },
  "oklch": {
    "l": 0.35451,
    "c": 0.06764,
    "h": 262.3
  },
  "luminance": 0.04405
}

Semantic roles & 50–950 ramp

primary
#283B5F
secondary
#927B51
accent
#A757D1
background
#F6F6F8
surface
#EBECF0
border
#C6C7CB
text
#06070C
muted
#7A7A7D

Preview Lab

Preview with #283B5F

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

Preview Lab → · Contrast checker → · Palette generator →

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