#283D7C#283D7C

#283D7C is a dark, moderate blue. Relative luminance 0.052; OKLCH L 37.9% C 0.110 H 267.2°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#283D7C
RGBrgb(40, 61, 124)
HSLhsl(225, 51%, 32%)
HSVhsv(225, 68%, 49%)
CMYKcmyk(67.7%, 50.8%, 0%, 51.4%)
CIE-LABlab(27.42, 13.92, -38.36)
CIE-LCHlch(27.42, 40.81, 289.95°)
OKLaboklab(37.93% -0.0054 -0.1099)
OKLCHoklch(37.93% 0.11 267.2)
XYZxyz(6.1807, 5.2433, 19.7512)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283D7C #7C6728
analogous
#28677C #283D7C #3D287C
triadic
#283D7C #7C283D #3D7C28
tetradic
#283D7C #7C2867 #7C6728 #287C3D
square
#283D7C #7C2867 #7C6728 #287C3D
split-complementary
#283D7C #7C3D28 #677C28
monochromatic
#0A0F1F #19264E #283D7C #3754AA #5673C8

Accessibility & contrast

On white

10.25
#283D7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#283D7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283D7C
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283D7C#FFFFFF#000000##FFFFFF
##283D7C1.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B457E
Deuteranopia (green-blind)
#073D7B
Tritanopia (blue-blind)
#004C56
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #283d7c;
/* rgb */ color: rgb(40, 61, 124);
/* oklch */ color: oklch(37.9% 0.110 267.2);
Tailwind
colors: {
  custom: {
    50: '#6c72a2',
    500: '#283d7c',
    950: '#000000',
  },
}
SCSS
$custom: #283d7c;
$custom-light: #6c72a2;
$custom-dark: #000000;
JSON
{
  "hex": "#283d7c",
  "rgb": {
    "r": 40,
    "g": 61,
    "b": 124
  },
  "hsl": {
    "h": 225,
    "s": 51.22,
    "l": 32.157
  },
  "oklch": {
    "l": 0.37929,
    "c": 0.11003,
    "h": 267.2
  },
  "luminance": 0.05244
}

Semantic roles & 50–950 ramp

primary
#283D7C
secondary
#AD9752
accent
#B74DDB
background
#F6F6FA
surface
#ECECF3
border
#C7C7CD
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #283D7C

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

Preview Lab → · Contrast checker → · Palette generator →

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