#283D75#283D75

#283D75 is a dark, moderate blue. Relative luminance 0.051; OKLCH L 37.4% C 0.099 H 266.2°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#283D75
RGBrgb(40, 61, 117)
HSLhsl(224, 49%, 31%)
HSVhsv(224, 66%, 46%)
CMYKcmyk(65.8%, 47.9%, 0%, 54.1%)
CIE-LABlab(26.94, 11.24, -34.71)
CIE-LCHlch(26.94, 36.48, 287.94°)
OKLaboklab(37.41% -0.0065 -0.0992)
OKLCHoklch(37.41% 0.099 266.2)
XYZxyz(5.7536, 5.0724, 17.5020)
Luminance0.0507 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283D75 #756028
analogous
#286375 #283D75 #392875
triadic
#283D75 #75283D #3D7528
tetradic
#283D75 #752863 #756028 #287539
square
#283D75 #752863 #756028 #287539
split-complementary
#283D75 #753928 #637528
monochromatic
#090D1A #182547 #283D75 #3855A3 #5372C4

Accessibility & contrast

On white

10.42
#283D75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#283D75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283D75
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283D75#FFFFFF#000000##FFFFFF
##283D751.0010.422.0110.42
#FFFFFF10.421.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224377
Deuteranopia (green-blind)
#153C74
Tritanopia (blue-blind)
#004A53
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #283d75;
/* rgb */ color: rgb(40, 61, 117);
/* oklch */ color: oklch(37.4% 0.099 266.2);
Tailwind
colors: {
  custom: {
    50: '#6a729d',
    500: '#283d75',
    950: '#000000',
  },
}
SCSS
$custom: #283d75;
$custom-light: #6a729d;
$custom-dark: #000000;
JSON
{
  "hex": "#283d75",
  "rgb": {
    "r": 40,
    "g": 61,
    "b": 117
  },
  "hsl": {
    "h": 223.636,
    "s": 49.045,
    "l": 30.784
  },
  "oklch": {
    "l": 0.37412,
    "c": 0.09937,
    "h": 266.2
  },
  "luminance": 0.05073
}

Semantic roles & 50–950 ramp

primary
#283D75
secondary
#A79052
accent
#B34FD9
background
#F6F6F9
surface
#ECECF2
border
#C7C7CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #283D75

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

Preview Lab → · Contrast checker → · Palette generator →

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