#283187#283187

#283187 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.3% C 0.142 H 272.5°. Best body text is #FFFFFF at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#283187
RGBrgb(40, 49, 135)
HSLhsl(234, 54%, 34%)
HSVhsv(234, 70%, 53%)
CMYKcmyk(70.4%, 63.7%, 0%, 47.1%)
CIE-LABlab(24.94, 26.36, -49.26)
CIE-LCHlch(24.94, 55.87, 298.15°)
OKLaboklab(36.35% 0.0063 -0.1421)
OKLCHoklch(36.35% 0.142 272.5)
XYZxyz(6.3451, 4.3964, 23.4312)
Luminance0.0440 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283187 #877E28
analogous
#286187 #283187 #4F2887
triadic
#283187 #872831 #318728
tetradic
#283187 #872861 #877E28 #28874F
square
#283187 #872861 #877E28 #28874F
split-complementary
#283187 #874F28 #618728
monochromatic
#0C0F29 #1A2058 #283187 #3642B6 #5B66CE

Accessibility & contrast

On white

11.17
#283187 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#283187 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283187
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283187#FFFFFF#000000##FFFFFF
##2831871.0011.171.8811.17
#FFFFFF11.171.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408A
Deuteranopia (green-blind)
#003785
Tritanopia (blue-blind)
#004757
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #283187;
/* rgb */ color: rgb(40, 49, 135);
/* oklch */ color: oklch(36.3% 0.142 272.5);
Tailwind
colors: {
  custom: {
    50: '#6f69ab',
    500: '#283187',
    950: '#000000',
  },
}
SCSS
$custom: #283187;
$custom-light: #6f69ab;
$custom-dark: #000000;
JSON
{
  "hex": "#283187",
  "rgb": {
    "r": 40,
    "g": 49,
    "b": 135
  },
  "hsl": {
    "h": 234.316,
    "s": 54.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.36345,
    "c": 0.14226,
    "h": 272.5
  },
  "luminance": 0.04397
}

Semantic roles & 50–950 ramp

primary
#283187
secondary
#B4AB57
accent
#D04ADE
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #283187

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

Preview Lab → · Contrast checker → · Palette generator →

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