#283D68#283D68

#283D68 is a dark, moderate blue. Relative luminance 0.048; OKLCH L 36.5% C 0.079 H 263.3°. Best body text is #FFFFFF at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#283D68
RGBrgb(40, 61, 104)
HSLhsl(220, 44%, 28%)
HSVhsv(220, 62%, 41%)
CMYKcmyk(61.5%, 41.3%, 0%, 59.2%)
CIE-LABlab(26.12, 6.31, -27.72)
CIE-LCHlch(26.12, 28.43, 282.82°)
OKLaboklab(36.52% -0.0092 -0.0787)
OKLCHoklch(36.52% 0.079 263.3)
XYZxyz(5.0416, 4.7877, 13.7524)
Luminance0.0479 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283D68 #685328
analogous
#285D68 #283D68 #332868
triadic
#283D68 #68283D #3D6828
tetradic
#283D68 #68285D #685328 #286833
square
#283D68 #68285D #685328 #286833
split-complementary
#283D68 #683328 #5D6828
monochromatic
#090D16 #17233C #283D68 #395794 #4F73BB

Accessibility & contrast

On white

10.73
#283D68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#283D68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283D68
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283D68#FFFFFF#000000##FFFFFF
##283D681.0010.731.9610.73
#FFFFFF10.731.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B416A
Deuteranopia (green-blind)
#223B67
Tritanopia (blue-blind)
#00474D
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #283d68;
/* rgb */ color: rgb(40, 61, 104);
/* oklch */ color: oklch(36.5% 0.079 263.3);
Tailwind
colors: {
  custom: {
    50: '#687293',
    500: '#283d68',
    950: '#000000',
  },
}
SCSS
$custom: #283d68;
$custom-light: #687293;
$custom-dark: #000000;
JSON
{
  "hex": "#283d68",
  "rgb": {
    "r": 40,
    "g": 61,
    "b": 104
  },
  "hsl": {
    "h": 220.313,
    "s": 44.444,
    "l": 28.235
  },
  "oklch": {
    "l": 0.36516,
    "c": 0.07921,
    "h": 263.3
  },
  "luminance": 0.04788
}

Semantic roles & 50–950 ramp

primary
#283D68
secondary
#9B8351
accent
#AA54D4
background
#F6F6F9
surface
#EBECF1
border
#C6C7CB
text
#06070D
muted
#7A7A7E

Preview Lab

Preview with #283D68

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

Preview Lab → · Contrast checker → · Palette generator →

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