#283C7C#283C7C

#283C7C is a dark, moderate blue. Relative luminance 0.051; OKLCH L 37.7% C 0.111 H 267.7°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#283C7C
RGBrgb(40, 60, 124)
HSLhsl(226, 51%, 32%)
HSVhsv(226, 68%, 49%)
CMYKcmyk(67.7%, 51.6%, 0%, 51.4%)
CIE-LABlab(27.12, 14.61, -38.83)
CIE-LCHlch(27.12, 41.49, 290.62°)
OKLaboklab(37.71% -0.0044 -0.1113)
OKLCHoklch(37.71% 0.111 267.7)
XYZxyz(6.1278, 5.1375, 19.7336)
Luminance0.0514 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283C7C #7C6828
analogous
#28667C #283C7C #3E287C
triadic
#283C7C #7C283C #3C7C28
tetradic
#283C7C #7C2866 #7C6828 #287C3E
square
#283C7C #7C2866 #7C6828 #287C3E
split-complementary
#283C7C #7C3E28 #667C28
monochromatic
#0A0F1F #19264E #283C7C #3752AA #5671C8

Accessibility & contrast

On white

10.36
#283C7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#283C7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283C7C
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283C7C#FFFFFF#000000##FFFFFF
##283C7C1.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19447E
Deuteranopia (green-blind)
#023C7B
Tritanopia (blue-blind)
#004B56
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #283c7c;
/* rgb */ color: rgb(40, 60, 124);
/* oklch */ color: oklch(37.7% 0.111 267.7);
Tailwind
colors: {
  custom: {
    50: '#6c71a2',
    500: '#283c7c',
    950: '#000000',
  },
}
SCSS
$custom: #283c7c;
$custom-light: #6c71a2;
$custom-dark: #000000;
JSON
{
  "hex": "#283c7c",
  "rgb": {
    "r": 40,
    "g": 60,
    "b": 124
  },
  "hsl": {
    "h": 225.714,
    "s": 51.22,
    "l": 32.157
  },
  "oklch": {
    "l": 0.37706,
    "c": 0.11139,
    "h": 267.7
  },
  "luminance": 0.05138
}

Semantic roles & 50–950 ramp

primary
#283C7C
secondary
#AD9852
accent
#B94DDB
background
#F6F6FA
surface
#ECECF3
border
#C7C7CD
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #283C7C

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

Preview Lab → · Contrast checker → · Palette generator →

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