#283D7A#283D7A

#283D7A is a dark, moderate blue. Relative luminance 0.052; OKLCH L 37.8% C 0.107 H 266.9°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#283D7A
RGBrgb(40, 61, 122)
HSLhsl(225, 51%, 32%)
HSVhsv(225, 67%, 48%)
CMYKcmyk(67.2%, 50%, 0%, 52.2%)
CIE-LABlab(27.28, 13.15, -37.32)
CIE-LCHlch(27.28, 39.57, 289.41°)
OKLaboklab(37.78% -0.0057 -0.1068)
OKLCHoklch(37.78% 0.107 266.9)
XYZxyz(6.0555, 5.1932, 19.0918)
Luminance0.0519 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283D7A #7A6528
analogous
#28667A #283D7A #3C287A
triadic
#283D7A #7A283D #3D7A28
tetradic
#283D7A #7A2866 #7A6528 #287A3C
square
#283D7A #7A2866 #7A6528 #287A3C
split-complementary
#283D7A #7A3C28 #667A28
monochromatic
#0A0F1E #19264C #283D7A #3754A8 #5572C7

Accessibility & contrast

On white

10.30
#283D7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#283D7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283D7A
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283D7A#FFFFFF#000000##FFFFFF
##283D7A1.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D447C
Deuteranopia (green-blind)
#0C3D79
Tritanopia (blue-blind)
#004B55
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #283d7a;
/* rgb */ color: rgb(40, 61, 122);
/* oklch */ color: oklch(37.8% 0.107 266.9);
Tailwind
colors: {
  custom: {
    50: '#6b72a1',
    500: '#283d7a',
    950: '#000000',
  },
}
SCSS
$custom: #283d7a;
$custom-light: #6b72a1;
$custom-dark: #000000;
JSON
{
  "hex": "#283d7a",
  "rgb": {
    "r": 40,
    "g": 61,
    "b": 122
  },
  "hsl": {
    "h": 224.634,
    "s": 50.617,
    "l": 31.765
  },
  "oklch": {
    "l": 0.37779,
    "c": 0.107,
    "h": 266.9
  },
  "luminance": 0.05194
}

Semantic roles & 50–950 ramp

primary
#283D7A
secondary
#AC9552
accent
#B64EDA
background
#F6F6F9
surface
#ECECF2
border
#C7C7CC
text
#07070F
muted
#7A7A7E

Preview Lab

Preview with #283D7A

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

Preview Lab → · Contrast checker → · Palette generator →

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