#283F6C#283F6C

#283F6C is a dark, moderate blue. Relative luminance 0.051; OKLCH L 37.3% C 0.083 H 262.6°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#283F6C
RGBrgb(40, 63, 108)
HSLhsl(220, 46%, 29%)
HSVhsv(220, 63%, 42%)
CMYKcmyk(63%, 41.7%, 0%, 57.6%)
CIE-LABlab(26.99, 6.44, -28.91)
CIE-LCHlch(26.99, 29.62, 282.56°)
OKLaboklab(37.26% -0.0107 -0.0821)
OKLCHoklch(37.26% 0.083 262.6)
XYZxyz(5.3584, 5.0884, 14.8842)
Luminance0.0509 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283F6C #6C5528
analogous
#28616C #283F6C #33286C
triadic
#283F6C #6C283F #3F6C28
tetradic
#283F6C #6C2861 #6C5528 #286C33
square
#283F6C #6C2861 #6C5528 #286C33
split-complementary
#283F6C #6C3328 #616C28
monochromatic
#080D16 #17253F #283F6C #395999 #5075BE

Accessibility & contrast

On white

10.41
#283F6C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#283F6C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283F6C
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283F6C#FFFFFF#000000##FFFFFF
##283F6C1.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C436E
Deuteranopia (green-blind)
#223D6B
Tritanopia (blue-blind)
#004950
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #283f6c;
/* rgb */ color: rgb(40, 63, 108);
/* oklch */ color: oklch(37.3% 0.083 262.6);
Tailwind
colors: {
  custom: {
    50: '#697396',
    500: '#283f6c',
    950: '#000000',
  },
}
SCSS
$custom: #283f6c;
$custom-light: #697396;
$custom-dark: #000000;
JSON
{
  "hex": "#283f6c",
  "rgb": {
    "r": 40,
    "g": 63,
    "b": 108
  },
  "hsl": {
    "h": 219.706,
    "s": 45.946,
    "l": 29.02
  },
  "oklch": {
    "l": 0.37262,
    "c": 0.08282,
    "h": 262.6
  },
  "luminance": 0.05089
}

Semantic roles & 50–950 ramp

primary
#283F6C
secondary
#9E8451
accent
#A952D6
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#07080D
muted
#7A7B7E

Preview Lab

Preview with #283F6C

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

Preview Lab → · Contrast checker → · Palette generator →

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