#283A75#283A75

#283A75 is a dark, moderate blue. Relative luminance 0.048; OKLCH L 36.7% C 0.103 H 268.2°. Best body text is #FFFFFF at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#283A75
RGBrgb(40, 58, 117)
HSLhsl(226, 49%, 31%)
HSVhsv(226, 66%, 46%)
CMYKcmyk(65.8%, 50.4%, 0%, 54.1%)
CIE-LABlab(26.04, 13.32, -36.15)
CIE-LCHlch(26.04, 38.52, 290.22°)
OKLaboklab(36.73% -0.0032 -0.1034)
OKLCHoklch(36.73% 0.103 268.2)
XYZxyz(5.5979, 4.7611, 17.4502)
Luminance0.0476 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283A75 #756328
analogous
#286075 #283A75 #3C2875
triadic
#283A75 #75283A #3A7528
tetradic
#283A75 #752860 #756328 #28753C
square
#283A75 #752860 #756328 #28753C
split-complementary
#283A75 #753C28 #607528
monochromatic
#090D1A #182347 #283A75 #3851A3 #536EC4

Accessibility & contrast

On white

10.76
#283A75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#283A75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283A75
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283A75#FFFFFF#000000##FFFFFF
##283A751.0010.761.9510.76
#FFFFFF10.761.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4177
Deuteranopia (green-blind)
#0C3A74
Tritanopia (blue-blind)
#004852
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #283a75;
/* rgb */ color: rgb(40, 58, 117);
/* oklch */ color: oklch(36.7% 0.103 268.2);
Tailwind
colors: {
  custom: {
    50: '#6b6f9d',
    500: '#283a75',
    950: '#000000',
  },
}
SCSS
$custom: #283a75;
$custom-light: #6b6f9d;
$custom-dark: #000000;
JSON
{
  "hex": "#283a75",
  "rgb": {
    "r": 40,
    "g": 58,
    "b": 117
  },
  "hsl": {
    "h": 225.974,
    "s": 49.045,
    "l": 30.784
  },
  "oklch": {
    "l": 0.36727,
    "c": 0.10349,
    "h": 268.2
  },
  "luminance": 0.04762
}

Semantic roles & 50–950 ramp

primary
#283A75
secondary
#A79352
accent
#B84FD9
background
#F6F6F9
surface
#ECECF2
border
#C7C7CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #283A75

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

Preview Lab → · Contrast checker → · Palette generator →

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