#283B62#283B62

#283B62 is a dark, moderate blue. Relative luminance 0.045; OKLCH L 35.6% C 0.072 H 263.5°. Best body text is #FFFFFF at 11.10:1 contrast (WCAG AA passes).

Color values

HEX#283B62
RGBrgb(40, 59, 98)
HSLhsl(220, 42%, 27%)
HSVhsv(220, 59%, 38%)
CMYKcmyk(59.2%, 39.8%, 0%, 61.6%)
CIE-LABlab(25.14, 5.45, -25.41)
CIE-LCHlch(25.14, 25.99, 282.11°)
OKLaboklab(35.64% -0.0082 -0.0719)
OKLCHoklch(35.64% 0.072 263.5)
XYZxyz(4.6429, 4.4605, 12.1692)
Luminance0.0446 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283B62 #624F28
analogous
#285862 #283B62 #322862
triadic
#283B62 #62283B #3B6228
tetradic
#283B62 #622858 #624F28 #286232
square
#283B62 #622858 #624F28 #286232
split-complementary
#283B62 #623228 #586228
monochromatic
#090D16 #162137 #283B62 #3A558D #4E70B7

Accessibility & contrast

On white

11.10
#283B62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#283B62 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283B62
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283B62#FFFFFF#000000##FFFFFF
##283B621.0011.101.8911.10
#FFFFFF11.101.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B3F64
Deuteranopia (green-blind)
#243961
Tritanopia (blue-blind)
#054449
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #283b62;
/* rgb */ color: rgb(40, 59, 98);
/* oklch */ color: oklch(35.6% 0.072 263.5);
Tailwind
colors: {
  custom: {
    50: '#67708f',
    500: '#283b62',
    950: '#000000',
  },
}
SCSS
$custom: #283b62;
$custom-light: #67708f;
$custom-dark: #000000;
JSON
{
  "hex": "#283b62",
  "rgb": {
    "r": 40,
    "g": 59,
    "b": 98
  },
  "hsl": {
    "h": 220.345,
    "s": 42.029,
    "l": 27.059
  },
  "oklch": {
    "l": 0.3564,
    "c": 0.07239,
    "h": 263.5
  },
  "luminance": 0.04461
}

Semantic roles & 50–950 ramp

primary
#283B62
secondary
#957F51
accent
#A956D2
background
#F6F6F8
surface
#EBECF0
border
#C6C7CB
text
#06070C
muted
#7A7A7D

Preview Lab

Preview with #283B62

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

Preview Lab → · Contrast checker → · Palette generator →

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