#283F62#283F62

#283F62 is a dark, moderate blue. Relative luminance 0.049; OKLCH L 36.6% C 0.067 H 258.5°. Best body text is #FFFFFF at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#283F62
RGBrgb(40, 63, 98)
HSLhsl(216, 42%, 27%)
HSVhsv(216, 59%, 38%)
CMYKcmyk(59.2%, 35.7%, 0%, 61.6%)
CIE-LABlab(26.41, 2.73, -23.40)
CIE-LCHlch(26.41, 23.56, 276.64°)
OKLaboklab(36.63% -0.0134 -0.066)
OKLCHoklch(36.63% 0.067 258.5)
XYZxyz(4.8564, 4.8876, 12.2404)
Luminance0.0489 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283F62 #624B28
analogous
#285C62 #283F62 #2E2862
triadic
#283F62 #62283F #3F6228
tetradic
#283F62 #62285C #624B28 #28622E
square
#283F62 #62285C #624B28 #28622E
split-complementary
#283F62 #622E28 #5C6228
monochromatic
#090E16 #162337 #283F62 #3A5B8D #4E77B7

Accessibility & contrast

On white

10.62
#283F62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#283F62 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283F62
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283F62#FFFFFF#000000##FFFFFF
##283F621.0010.621.9810.62
#FFFFFF10.621.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314163
Deuteranopia (green-blind)
#2A3C61
Tritanopia (blue-blind)
#03474C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #283f62;
/* rgb */ color: rgb(40, 63, 98);
/* oklch */ color: oklch(36.6% 0.067 258.5);
Tailwind
colors: {
  custom: {
    50: '#67738f',
    500: '#283f62',
    950: '#000000',
  },
}
SCSS
$custom: #283f62;
$custom-light: #67738f;
$custom-dark: #000000;
JSON
{
  "hex": "#283f62",
  "rgb": {
    "r": 40,
    "g": 63,
    "b": 98
  },
  "hsl": {
    "h": 216.207,
    "s": 42.029,
    "l": 27.059
  },
  "oklch": {
    "l": 0.3663,
    "c": 0.06737,
    "h": 258.5
  },
  "luminance": 0.04888
}

Semantic roles & 50–950 ramp

primary
#283F62
secondary
#957A51
accent
#A156D2
background
#F6F6F8
surface
#EBECF0
border
#C6C7CB
text
#06080C
muted
#7A7B7D

Preview Lab

Preview with #283F62

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

Preview Lab → · Contrast checker → · Palette generator →

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