#283A5F#283A5F

#283A5F is a dark, moderate blue. Relative luminance 0.043; OKLCH L 35.2% C 0.069 H 263.6°. Best body text is #FFFFFF at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#283A5F
RGBrgb(40, 58, 95)
HSLhsl(220, 41%, 26%)
HSVhsv(220, 58%, 37%)
CMYKcmyk(57.9%, 38.9%, 0%, 62.7%)
CIE-LABlab(24.65, 5.04, -24.23)
CIE-LCHlch(24.65, 24.75, 281.74°)
OKLaboklab(35.2% -0.0077 -0.0685)
OKLCHoklch(35.2% 0.069 263.6)
XYZxyz(4.4530, 4.3031, 11.4202)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283A5F #5F4D28
analogous
#28565F #283A5F #32285F
triadic
#283A5F #5F283A #3A5F28
tetradic
#283A5F #5F2856 #5F4D28 #285F32
square
#283A5F #5F2856 #5F4D28 #285F32
split-complementary
#283A5F #5F3228 #565F28
monochromatic
#090D16 #162034 #283A5F #3A548A #4D6FB4

Accessibility & contrast

On white

11.29
#283A5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#283A5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283A5F
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283A5F#FFFFFF#000000##FFFFFF
##283A5F1.0011.291.8611.29
#FFFFFF11.291.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B3D61
Deuteranopia (green-blind)
#25385E
Tritanopia (blue-blind)
#0A4248
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #283a5f;
/* rgb */ color: rgb(40, 58, 95);
/* oklch */ color: oklch(35.2% 0.069 263.6);
Tailwind
colors: {
  custom: {
    50: '#666f8c',
    500: '#283a5f',
    950: '#000000',
  },
}
SCSS
$custom: #283a5f;
$custom-light: #666f8c;
$custom-dark: #000000;
JSON
{
  "hex": "#283a5f",
  "rgb": {
    "r": 40,
    "g": 58,
    "b": 95
  },
  "hsl": {
    "h": 220.364,
    "s": 40.741,
    "l": 26.471
  },
  "oklch": {
    "l": 0.35204,
    "c": 0.06893,
    "h": 263.6
  },
  "luminance": 0.04303
}

Semantic roles & 50–950 ramp

primary
#283A5F
secondary
#927D51
accent
#A957D1
background
#F6F6F8
surface
#EBECF0
border
#C6C7CB
text
#06070C
muted
#7A7A7D

Preview Lab

Preview with #283A5F

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

Preview Lab → · Contrast checker → · Palette generator →

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