#283F73#283F73

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

Color values

HEX#283F73
RGBrgb(40, 63, 115)
HSLhsl(222, 48%, 30%)
HSVhsv(222, 65%, 45%)
CMYKcmyk(65.2%, 45.2%, 0%, 54.9%)
CIE-LABlab(27.42, 9.09, -32.68)
CIE-LCHlch(27.42, 33.92, 285.55°)
OKLaboklab(37.74% -0.0091 -0.0932)
OKLCHoklch(37.74% 0.094 264.4)
XYZxyz(5.7460, 5.2434, 16.9256)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283F73 #735C28
analogous
#286473 #283F73 #362873
triadic
#283F73 #73283F #3F7328
tetradic
#283F73 #732864 #735C28 #287336
square
#283F73 #732864 #735C28 #287336
split-complementary
#283F73 #733628 #647328
monochromatic
#080D18 #182646 #283F73 #3858A0 #5275C3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##283F73#FFFFFF#000000##FFFFFF
##283F731.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)
#274475
Deuteranopia (green-blind)
#1C3E72
Tritanopia (blue-blind)
#004B53
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #283f73;
/* rgb */ color: rgb(40, 63, 115);
/* oklch */ color: oklch(37.7% 0.094 264.4);
Tailwind
colors: {
  custom: {
    50: '#6a739b',
    500: '#283f73',
    950: '#000000',
  },
}
SCSS
$custom: #283f73;
$custom-light: #6a739b;
$custom-dark: #000000;
JSON
{
  "hex": "#283f73",
  "rgb": {
    "r": 40,
    "g": 63,
    "b": 115
  },
  "hsl": {
    "h": 221.6,
    "s": 48.387,
    "l": 30.392
  },
  "oklch": {
    "l": 0.37736,
    "c": 0.09362,
    "h": 264.4
  },
  "luminance": 0.05244
}

Semantic roles & 50–950 ramp

primary
#283F73
secondary
#A58C52
accent
#AE50D8
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #283F73

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

Preview Lab → · Contrast checker → · Palette generator →

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