#283C70#283C70

#283C70 is a dark, moderate blue. Relative luminance 0.049; OKLCH L 36.8% C 0.093 H 266.1°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#283C70
RGBrgb(40, 60, 112)
HSLhsl(223, 47%, 30%)
HSVhsv(223, 64%, 44%)
CMYKcmyk(64.3%, 46.4%, 0%, 56.1%)
CIE-LABlab(26.31, 10.02, -32.54)
CIE-LCHlch(26.31, 34.05, 287.11°)
OKLaboklab(36.82% -0.0063 -0.0928)
OKLCHoklch(36.82% 0.093 266.1)
XYZxyz(5.4146, 4.8522, 15.9773)
Luminance0.0485 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283C70 #705C28
analogous
#286070 #283C70 #382870
triadic
#283C70 #70283C #3C7028
tetradic
#283C70 #702860 #705C28 #287038
square
#283C70 #702860 #705C28 #287038
split-complementary
#283C70 #703828 #607028
monochromatic
#080C17 #182443 #283C70 #38549D #5170C1

Accessibility & contrast

On white

10.66
#283C70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#283C70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283C70
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283C70#FFFFFF#000000##FFFFFF
##283C701.0010.661.9710.66
#FFFFFF10.661.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244272
Deuteranopia (green-blind)
#193B6F
Tritanopia (blue-blind)
#004850
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #283c70;
/* rgb */ color: rgb(40, 60, 112);
/* oklch */ color: oklch(36.8% 0.093 266.1);
Tailwind
colors: {
  custom: {
    50: '#697199',
    500: '#283c70',
    950: '#000000',
  },
}
SCSS
$custom: #283c70;
$custom-light: #697199;
$custom-dark: #000000;
JSON
{
  "hex": "#283c70",
  "rgb": {
    "r": 40,
    "g": 60,
    "b": 112
  },
  "hsl": {
    "h": 223.333,
    "s": 47.368,
    "l": 29.804
  },
  "oklch": {
    "l": 0.36823,
    "c": 0.09302,
    "h": 266.1
  },
  "luminance": 0.04853
}

Semantic roles & 50–950 ramp

primary
#283C70
secondary
#A28C51
accent
#B251D7
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #283C70

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

Preview Lab → · Contrast checker → · Palette generator →

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