#283C7A#283C7A

#283C7A is a dark, moderate blue. Relative luminance 0.051; OKLCH L 37.6% C 0.108 H 267.5°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#283C7A
RGBrgb(40, 60, 122)
HSLhsl(225, 51%, 32%)
HSVhsv(225, 67%, 48%)
CMYKcmyk(67.2%, 50.8%, 0%, 52.2%)
CIE-LABlab(26.98, 13.85, -37.80)
CIE-LCHlch(26.98, 40.26, 290.12°)
OKLaboklab(37.55% -0.0047 -0.1083)
OKLCHoklch(37.55% 0.108 267.5)
XYZxyz(6.0026, 5.0874, 19.0742)
Luminance0.0509 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283C7A #7A6628
analogous
#28657A #283C7A #3D287A
triadic
#283C7A #7A283C #3C7A28
tetradic
#283C7A #7A2865 #7A6628 #287A3D
square
#283C7A #7A2865 #7A6628 #287A3D
split-complementary
#283C7A #7A3D28 #657A28
monochromatic
#0A0F1E #19254C #283C7A #3753A8 #5571C7

Accessibility & contrast

On white

10.41
#283C7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#283C7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283C7A
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283C7A#FFFFFF#000000##FFFFFF
##283C7A1.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B447C
Deuteranopia (green-blind)
#083C79
Tritanopia (blue-blind)
#004A55
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #283c7a;
/* rgb */ color: rgb(40, 60, 122);
/* oklch */ color: oklch(37.6% 0.108 267.5);
Tailwind
colors: {
  custom: {
    50: '#6b71a1',
    500: '#283c7a',
    950: '#000000',
  },
}
SCSS
$custom: #283c7a;
$custom-light: #6b71a1;
$custom-dark: #000000;
JSON
{
  "hex": "#283c7a",
  "rgb": {
    "r": 40,
    "g": 60,
    "b": 122
  },
  "hsl": {
    "h": 225.366,
    "s": 50.617,
    "l": 31.765
  },
  "oklch": {
    "l": 0.37554,
    "c": 0.10836,
    "h": 267.5
  },
  "luminance": 0.05088
}

Semantic roles & 50–950 ramp

primary
#283C7A
secondary
#AC9652
accent
#B84EDA
background
#F6F6F9
surface
#ECECF2
border
#C7C7CC
text
#07070F
muted
#7A7A7E

Preview Lab

Preview with #283C7A

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

Preview Lab → · Contrast checker → · Palette generator →

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