#283A70#283A70

#283A70 is a dark, moderate blue. Relative luminance 0.046; OKLCH L 36.4% C 0.096 H 267.6°. Best body text is #FFFFFF at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#283A70
RGBrgb(40, 58, 112)
HSLhsl(225, 47%, 30%)
HSVhsv(225, 64%, 44%)
CMYKcmyk(64.3%, 48.2%, 0%, 56.1%)
CIE-LABlab(25.70, 11.41, -33.51)
CIE-LCHlch(25.70, 35.40, 288.80°)
OKLaboklab(36.36% -0.004 -0.0957)
OKLCHoklch(36.36% 0.096 267.6)
XYZxyz(5.3118, 4.6466, 15.9431)
Luminance0.0465 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283A70 #705E28
analogous
#285E70 #283A70 #3A2870
triadic
#283A70 #70283A #3A7028
tetradic
#283A70 #70285E #705E28 #28703A
square
#283A70 #70285E #705E28 #28703A
split-complementary
#283A70 #703A28 #5E7028
monochromatic
#080C17 #182343 #283A70 #38519D #516DC1

Accessibility & contrast

On white

10.88
#283A70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#283A70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283A70
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283A70#FFFFFF#000000##FFFFFF
##283A701.0010.881.9310.88
#FFFFFF10.881.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204072
Deuteranopia (green-blind)
#153A6F
Tritanopia (blue-blind)
#00464F
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #283a70;
/* rgb */ color: rgb(40, 58, 112);
/* oklch */ color: oklch(36.4% 0.096 267.6);
Tailwind
colors: {
  custom: {
    50: '#6a6f99',
    500: '#283a70',
    950: '#000000',
  },
}
SCSS
$custom: #283a70;
$custom-light: #6a6f99;
$custom-dark: #000000;
JSON
{
  "hex": "#283a70",
  "rgb": {
    "r": 40,
    "g": 58,
    "b": 112
  },
  "hsl": {
    "h": 225,
    "s": 47.368,
    "l": 29.804
  },
  "oklch": {
    "l": 0.36358,
    "c": 0.09577,
    "h": 267.6
  },
  "luminance": 0.04647
}

Semantic roles & 50–950 ramp

primary
#283A70
secondary
#A28E51
accent
#B551D7
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #283A70

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

Preview Lab → · Contrast checker → · Palette generator →

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