#283B6A#283B6A

#283B6A is a dark, moderate blue. Relative luminance 0.046; OKLCH L 36.2% C 0.085 H 265.8°. Best body text is #FFFFFF at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#283B6A
RGBrgb(40, 59, 106)
HSLhsl(223, 45%, 29%)
HSVhsv(223, 62%, 42%)
CMYKcmyk(62.3%, 44.3%, 0%, 58.4%)
CIE-LABlab(25.62, 8.44, -29.80)
CIE-LCHlch(25.62, 30.98, 285.81°)
OKLaboklab(36.17% -0.0063 -0.0848)
OKLCHoklch(36.17% 0.085 265.8)
XYZxyz(5.0397, 4.6192, 14.2589)
Luminance0.0462 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283B6A #6A5728
analogous
#285C6A #283B6A #36286A
triadic
#283B6A #6A283B #3B6A28
tetradic
#283B6A #6A285C #6A5728 #286A36
square
#283B6A #6A285C #6A5728 #286A36
split-complementary
#283B6A #6A3628 #5C6A28
monochromatic
#080C16 #17223E #283B6A #395496 #506FBD

Accessibility & contrast

On white

10.91
#283B6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#283B6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283B6A
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283B6A#FFFFFF#000000##FFFFFF
##283B6A1.0010.911.9210.91
#FFFFFF10.911.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26406C
Deuteranopia (green-blind)
#1D3A69
Tritanopia (blue-blind)
#00454D
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #283b6a;
/* rgb */ color: rgb(40, 59, 106);
/* oklch */ color: oklch(36.2% 0.085 265.8);
Tailwind
colors: {
  custom: {
    50: '#687095',
    500: '#283b6a',
    950: '#000000',
  },
}
SCSS
$custom: #283b6a;
$custom-light: #687095;
$custom-dark: #000000;
JSON
{
  "hex": "#283b6a",
  "rgb": {
    "r": 40,
    "g": 59,
    "b": 106
  },
  "hsl": {
    "h": 222.727,
    "s": 45.205,
    "l": 28.627
  },
  "oklch": {
    "l": 0.3617,
    "c": 0.08501,
    "h": 265.8
  },
  "luminance": 0.0462
}

Semantic roles & 50–950 ramp

primary
#283B6A
secondary
#9D8751
accent
#AF53D5
background
#F6F6F9
surface
#EBECF1
border
#C6C7CB
text
#07070D
muted
#7A7A7E

Preview Lab

Preview with #283B6A

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

Preview Lab → · Contrast checker → · Palette generator →

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