#283B6C#283B6C

#283B6C is a dark, moderate blue. Relative luminance 0.047; OKLCH L 36.3% C 0.088 H 266.2°. Best body text is #FFFFFF at 10.87:1 contrast (WCAG AA passes).

Color values

HEX#283B6C
RGBrgb(40, 59, 108)
HSLhsl(223, 46%, 29%)
HSVhsv(223, 63%, 42%)
CMYKcmyk(63%, 45.4%, 0%, 57.6%)
CIE-LABlab(25.75, 9.20, -30.89)
CIE-LCHlch(25.75, 32.22, 286.58°)
OKLaboklab(36.31% -0.0059 -0.088)
OKLCHoklch(36.31% 0.088 266.2)
XYZxyz(5.1449, 4.6613, 14.8131)
Luminance0.0466 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283B6C #6C5928
analogous
#285D6C #283B6C #37286C
triadic
#283B6C #6C283B #3B6C28
tetradic
#283B6C #6C285D #6C5928 #286C37
square
#283B6C #6C285D #6C5928 #286C37
split-complementary
#283B6C #6C3728 #5D6C28
monochromatic
#080C16 #17233F #283B6C #395399 #506FBE

Accessibility & contrast

On white

10.87
#283B6C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #283B6C
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283B6C#FFFFFF#000000##FFFFFF
##283B6C1.0010.871.9310.87
#FFFFFF10.871.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25406E
Deuteranopia (green-blind)
#1B3A6B
Tritanopia (blue-blind)
#00464E
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #283b6c;
/* rgb */ color: rgb(40, 59, 108);
/* oklch */ color: oklch(36.3% 0.088 266.2);
Tailwind
colors: {
  custom: {
    50: '#697096',
    500: '#283b6c',
    950: '#000000',
  },
}
SCSS
$custom: #283b6c;
$custom-light: #697096;
$custom-dark: #000000;
JSON
{
  "hex": "#283b6c",
  "rgb": {
    "r": 40,
    "g": 59,
    "b": 108
  },
  "hsl": {
    "h": 223.235,
    "s": 45.946,
    "l": 29.02
  },
  "oklch": {
    "l": 0.36308,
    "c": 0.08816,
    "h": 266.2
  },
  "luminance": 0.04662
}

Semantic roles & 50–950 ramp

primary
#283B6C
secondary
#9E8951
accent
#B152D6
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#07070D
muted
#7A7A7E

Preview Lab

Preview with #283B6C

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

Preview Lab → · Contrast checker → · Palette generator →

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