#283C68#283C68

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

Color values

HEX#283C68
RGBrgb(40, 60, 104)
HSLhsl(221, 44%, 28%)
HSVhsv(221, 62%, 41%)
CMYKcmyk(61.5%, 42.3%, 0%, 59.2%)
CIE-LABlab(25.81, 7.00, -28.22)
CIE-LCHlch(25.81, 29.07, 283.93°)
OKLaboklab(36.27% -0.008 -0.0801)
OKLCHoklch(36.27% 0.081 264.3)
XYZxyz(4.9888, 4.6819, 13.7348)
Luminance0.0468 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283C68 #685428
analogous
#285C68 #283C68 #342868
triadic
#283C68 #68283C #3C6828
tetradic
#283C68 #68285C #685428 #286834
square
#283C68 #68285C #685428 #286834
split-complementary
#283C68 #683428 #5C6828
monochromatic
#090D16 #17223C #283C68 #395594 #4F71BB

Accessibility & contrast

On white

10.84
#283C68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#283C68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283C68
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283C68#FFFFFF#000000##FFFFFF
##283C681.0010.841.9410.84
#FFFFFF10.841.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29406A
Deuteranopia (green-blind)
#213A67
Tritanopia (blue-blind)
#00464D
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #283c68;
/* rgb */ color: rgb(40, 60, 104);
/* oklch */ color: oklch(36.3% 0.081 264.3);
Tailwind
colors: {
  custom: {
    50: '#687193',
    500: '#283c68',
    950: '#000000',
  },
}
SCSS
$custom: #283c68;
$custom-light: #687193;
$custom-dark: #000000;
JSON
{
  "hex": "#283c68",
  "rgb": {
    "r": 40,
    "g": 60,
    "b": 104
  },
  "hsl": {
    "h": 221.25,
    "s": 44.444,
    "l": 28.235
  },
  "oklch": {
    "l": 0.36274,
    "c": 0.08053,
    "h": 264.3
  },
  "luminance": 0.04682
}

Semantic roles & 50–950 ramp

primary
#283C68
secondary
#9B8451
accent
#AC54D4
background
#F6F6F9
surface
#EBECF1
border
#C6C7CB
text
#06070D
muted
#7A7A7E

Preview Lab

Preview with #283C68

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

Preview Lab → · Contrast checker → · Palette generator →

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