#283A5D#283A5D

#283A5D is a dark, moderate blue. Relative luminance 0.043; OKLCH L 35.1% C 0.066 H 262.8°. Best body text is #FFFFFF at 11.33:1 contrast (WCAG AA passes).

Color values

HEX#283A5D
RGBrgb(40, 58, 93)
HSLhsl(220, 40%, 26%)
HSVhsv(220, 57%, 36%)
CMYKcmyk(57%, 37.6%, 0%, 63.5%)
CIE-LABlab(24.54, 4.31, -23.11)
CIE-LCHlch(24.54, 23.51, 280.56°)
OKLaboklab(35.08% -0.0083 -0.0652)
OKLCHoklch(35.08% 0.066 262.8)
XYZxyz(4.3632, 4.2672, 10.9475)
Luminance0.0427 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283A5D #5D4B28
analogous
#28545D #283A5D #30285D
triadic
#283A5D #5D283A #3A5D28
tetradic
#283A5D #5D2854 #5D4B28 #285D30
square
#283A5D #5D2854 #5D4B28 #285D30
split-complementary
#283A5D #5D3028 #545D28
monochromatic
#090D15 #161F32 #283A5D #3A5588 #4D6FB2

Accessibility & contrast

On white

11.33
#283A5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#283A5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283A5D
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283A5D#FFFFFF#000000##FFFFFF
##283A5D1.0011.331.8511.33
#FFFFFF11.331.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3D5E
Deuteranopia (green-blind)
#26385C
Tritanopia (blue-blind)
#0C4247
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #283a5d;
/* rgb */ color: rgb(40, 58, 93);
/* oklch */ color: oklch(35.1% 0.066 262.8);
Tailwind
colors: {
  custom: {
    50: '#666f8b',
    500: '#283a5d',
    950: '#000000',
  },
}
SCSS
$custom: #283a5d;
$custom-light: #666f8b;
$custom-dark: #000000;
JSON
{
  "hex": "#283a5d",
  "rgb": {
    "r": 40,
    "g": 58,
    "b": 93
  },
  "hsl": {
    "h": 219.623,
    "s": 39.85,
    "l": 26.078
  },
  "oklch": {
    "l": 0.35079,
    "c": 0.06575,
    "h": 262.8
  },
  "luminance": 0.04268
}

Semantic roles & 50–950 ramp

primary
#283A5D
secondary
#907A51
accent
#A758D0
background
#F6F6F8
surface
#EBECF0
border
#C6C7CB
text
#06070C
muted
#7A7A7D

Preview Lab

Preview with #283A5D

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

Preview Lab → · Contrast checker → · Palette generator →

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