#283F75#283F75

#283F75 is a dark, moderate blue. Relative luminance 0.053; OKLCH L 37.9% C 0.097 H 264.8°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#283F75
RGBrgb(40, 63, 117)
HSLhsl(222, 49%, 31%)
HSVhsv(222, 66%, 46%)
CMYKcmyk(65.8%, 46.2%, 0%, 54.1%)
CIE-LABlab(27.55, 9.86, -33.74)
CIE-LCHlch(27.55, 35.15, 286.28°)
OKLaboklab(37.88% -0.0087 -0.0963)
OKLCHoklch(37.88% 0.097 264.8)
XYZxyz(5.8624, 5.2900, 17.5383)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283F75 #755E28
analogous
#286575 #283F75 #372875
triadic
#283F75 #75283F #3F7528
tetradic
#283F75 #752865 #755E28 #287537
square
#283F75 #752865 #755E28 #287537
split-complementary
#283F75 #753728 #657528
monochromatic
#090E1A #182647 #283F75 #3858A3 #5375C4

Accessibility & contrast

On white

10.20
#283F75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#283F75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283F75
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283F75#FFFFFF#000000##FFFFFF
##283F751.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264577
Deuteranopia (green-blind)
#193E74
Tritanopia (blue-blind)
#004B54
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #283f75;
/* rgb */ color: rgb(40, 63, 117);
/* oklch */ color: oklch(37.9% 0.097 264.8);
Tailwind
colors: {
  custom: {
    50: '#6a739d',
    500: '#283f75',
    950: '#000000',
  },
}
SCSS
$custom: #283f75;
$custom-light: #6a739d;
$custom-dark: #000000;
JSON
{
  "hex": "#283f75",
  "rgb": {
    "r": 40,
    "g": 63,
    "b": 117
  },
  "hsl": {
    "h": 222.078,
    "s": 49.045,
    "l": 30.784
  },
  "oklch": {
    "l": 0.37876,
    "c": 0.09668,
    "h": 264.8
  },
  "luminance": 0.0529
}

Semantic roles & 50–950 ramp

primary
#283F75
secondary
#A78E52
accent
#B04FD9
background
#F6F6F9
surface
#ECECF2
border
#C7C7CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #283F75

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

Preview Lab → · Contrast checker → · Palette generator →

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