#283B66#283B66

#283B66 is a dark, moderate blue. Relative luminance 0.045; OKLCH L 35.9% C 0.079 H 264.7°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#283B66
RGBrgb(40, 59, 102)
HSLhsl(222, 44%, 28%)
HSVhsv(222, 61%, 40%)
CMYKcmyk(60.8%, 42.2%, 0%, 60%)
CIE-LABlab(25.38, 6.94, -27.62)
CIE-LCHlch(25.38, 28.48, 284.10°)
OKLaboklab(35.9% -0.0072 -0.0784)
OKLCHoklch(35.9% 0.079 264.7)
XYZxyz(4.8365, 4.5380, 13.1888)
Luminance0.0454 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283B66 #665328
analogous
#285A66 #283B66 #342866
triadic
#283B66 #66283B #3B6628
tetradic
#283B66 #66285A #665328 #286634
square
#283B66 #66285A #665328 #286634
split-complementary
#283B66 #663428 #5A6628
monochromatic
#090D16 #17223A #283B66 #395492 #4F6FBA

Accessibility & contrast

On white

11.01
#283B66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#283B66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283B66
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283B66#FFFFFF#000000##FFFFFF
##283B661.0011.011.9111.01
#FFFFFF11.011.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293F68
Deuteranopia (green-blind)
#213A65
Tritanopia (blue-blind)
#00454B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #283b66;
/* rgb */ color: rgb(40, 59, 102);
/* oklch */ color: oklch(35.9% 0.079 264.7);
Tailwind
colors: {
  custom: {
    50: '#687092',
    500: '#283b66',
    950: '#000000',
  },
}
SCSS
$custom: #283b66;
$custom-light: #687092;
$custom-dark: #000000;
JSON
{
  "hex": "#283b66",
  "rgb": {
    "r": 40,
    "g": 59,
    "b": 102
  },
  "hsl": {
    "h": 221.613,
    "s": 43.662,
    "l": 27.843
  },
  "oklch": {
    "l": 0.35901,
    "c": 0.07872,
    "h": 264.7
  },
  "luminance": 0.04538
}

Semantic roles & 50–950 ramp

primary
#283B66
secondary
#998351
accent
#AC54D3
background
#F6F6F9
surface
#EBECF1
border
#C6C7CB
text
#06070D
muted
#7A7A7E

Preview Lab

Preview with #283B66

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

Preview Lab → · Contrast checker → · Palette generator →

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