#283574#283574

#283574 is a dark, moderate blue. Relative luminance 0.043; OKLCH L 35.5% C 0.109 H 271.1°. Best body text is #FFFFFF at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#283574
RGBrgb(40, 53, 116)
HSLhsl(230, 49%, 31%)
HSVhsv(230, 66%, 45%)
CMYKcmyk(65.5%, 54.3%, 0%, 54.5%)
CIE-LABlab(24.51, 16.42, -37.99)
CIE-LCHlch(24.51, 41.38, 293.38°)
OKLaboklab(35.54% 0.0021 -0.1089)
OKLCHoklch(35.54% 0.109 271.1)
XYZxyz(5.2995, 4.2578, 17.0622)
Luminance0.0426 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283574 #746728
analogous
#285B74 #283574 #412874
triadic
#283574 #742835 #357428
tetradic
#283574 #74285B #746728 #287441
square
#283574 #74285B #746728 #287441
split-complementary
#283574 #744128 #5B7428
monochromatic
#090B19 #182046 #283574 #384AA2 #5366C4

Accessibility & contrast

On white

11.34
#283574 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#283574 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283574
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283574#FFFFFF#000000##FFFFFF
##2835741.0011.341.8511.34
#FFFFFF11.341.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F3E76
Deuteranopia (green-blind)
#003773
Tritanopia (blue-blind)
#00444F
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #283574;
/* rgb */ color: rgb(40, 53, 116);
/* oklch */ color: oklch(35.5% 0.109 271.1);
Tailwind
colors: {
  custom: {
    50: '#6b6c9c',
    500: '#283574',
    950: '#000000',
  },
}
SCSS
$custom: #283574;
$custom-light: #6b6c9c;
$custom-dark: #000000;
JSON
{
  "hex": "#283574",
  "rgb": {
    "r": 40,
    "g": 53,
    "b": 116
  },
  "hsl": {
    "h": 229.737,
    "s": 48.718,
    "l": 30.588
  },
  "oklch": {
    "l": 0.35539,
    "c": 0.10894,
    "h": 271.1
  },
  "luminance": 0.04258
}

Semantic roles & 50–950 ramp

primary
#283574
secondary
#A69852
accent
#C150D8
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #283574

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

Preview Lab → · Contrast checker → · Palette generator →

#283574 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva