#283B70#283B70

#283B70 is a dark, moderate blue. Relative luminance 0.047; OKLCH L 36.6% C 0.094 H 266.9°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#283B70
RGBrgb(40, 59, 112)
HSLhsl(224, 47%, 30%)
HSVhsv(224, 64%, 44%)
CMYKcmyk(64.3%, 47.3%, 0%, 56.1%)
CIE-LABlab(26.01, 10.71, -33.03)
CIE-LCHlch(26.01, 34.72, 287.97°)
OKLaboklab(36.59% -0.0051 -0.0942)
OKLCHoklch(36.59% 0.094 266.9)
XYZxyz(5.3627, 4.7484, 15.9600)
Luminance0.0475 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283B70 #705D28
analogous
#285F70 #283B70 #392870
triadic
#283B70 #70283B #3B7028
tetradic
#283B70 #70285F #705D28 #287039
square
#283B70 #70285F #705D28 #287039
split-complementary
#283B70 #703928 #5F7028
monochromatic
#080C17 #182343 #283B70 #38539D #516FC1

Accessibility & contrast

On white

10.77
#283B70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #283B70
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283B70#FFFFFF#000000##FFFFFF
##283B701.0010.771.9510.77
#FFFFFF10.771.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224172
Deuteranopia (green-blind)
#173B6F
Tritanopia (blue-blind)
#004750
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #283b70;
/* rgb */ color: rgb(40, 59, 112);
/* oklch */ color: oklch(36.6% 0.094 266.9);
Tailwind
colors: {
  custom: {
    50: '#697099',
    500: '#283b70',
    950: '#000000',
  },
}
SCSS
$custom: #283b70;
$custom-light: #697099;
$custom-dark: #000000;
JSON
{
  "hex": "#283b70",
  "rgb": {
    "r": 40,
    "g": 59,
    "b": 112
  },
  "hsl": {
    "h": 224.167,
    "s": 47.368,
    "l": 29.804
  },
  "oklch": {
    "l": 0.3659,
    "c": 0.09439,
    "h": 266.9
  },
  "luminance": 0.04749
}

Semantic roles & 50–950 ramp

primary
#283B70
secondary
#A28D51
accent
#B451D7
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #283B70

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

Preview Lab → · Contrast checker → · Palette generator →

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