#283B6B#283B6B

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

Color values

HEX#283B6B
RGBrgb(40, 59, 107)
HSLhsl(223, 46%, 29%)
HSVhsv(223, 63%, 42%)
CMYKcmyk(62.6%, 44.9%, 0%, 58%)
CIE-LABlab(25.68, 8.82, -30.34)
CIE-LCHlch(25.68, 31.60, 286.20°)
OKLaboklab(36.24% -0.0061 -0.0864)
OKLCHoklch(36.24% 0.087 266)
XYZxyz(5.0920, 4.6402, 14.5344)
Luminance0.0464 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283B6B #6B5828
analogous
#285D6B #283B6B #37286B
triadic
#283B6B #6B283B #3B6B28
tetradic
#283B6B #6B285D #6B5828 #286B37
square
#283B6B #6B285D #6B5828 #286B37
split-complementary
#283B6B #6B3728 #5D6B28
monochromatic
#080C16 #17223E #283B6B #395498 #506FBE

Accessibility & contrast

On white

10.89
#283B6B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#283B6B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283B6B
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283B6B#FFFFFF#000000##FFFFFF
##283B6B1.0010.891.9310.89
#FFFFFF10.891.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26406D
Deuteranopia (green-blind)
#1C3A6A
Tritanopia (blue-blind)
#00464D
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #283b6b;
/* rgb */ color: rgb(40, 59, 107);
/* oklch */ color: oklch(36.2% 0.087 266.0);
Tailwind
colors: {
  custom: {
    50: '#697096',
    500: '#283b6b',
    950: '#000000',
  },
}
SCSS
$custom: #283b6b;
$custom-light: #697096;
$custom-dark: #000000;
JSON
{
  "hex": "#283b6b",
  "rgb": {
    "r": 40,
    "g": 59,
    "b": 107
  },
  "hsl": {
    "h": 222.985,
    "s": 45.578,
    "l": 28.824
  },
  "oklch": {
    "l": 0.36238,
    "c": 0.08658,
    "h": 266
  },
  "luminance": 0.04641
}

Semantic roles & 50–950 ramp

primary
#283B6B
secondary
#9D8851
accent
#B053D5
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#07070D
muted
#7A7A7E

Preview Lab

Preview with #283B6B

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

Preview Lab → · Contrast checker → · Palette generator →

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