#283179#283179

#283179 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.1% C 0.122 H 273.0°. Best body text is #FFFFFF at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#283179
RGBrgb(40, 49, 121)
HSLhsl(233, 50%, 32%)
HSVhsv(233, 67%, 47%)
CMYKcmyk(66.9%, 59.5%, 0%, 52.5%)
CIE-LABlab(23.76, 21.10, -42.37)
CIE-LCHlch(23.76, 47.33, 296.47°)
OKLaboklab(35.1% 0.0064 -0.1219)
OKLCHoklch(35.1% 0.122 273)
XYZxyz(5.4234, 4.0277, 18.5771)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283179 #797028
analogous
#285A79 #283179 #482879
triadic
#283179 #792831 #317928
tetradic
#283179 #79285A #797028 #287948
square
#283179 #79285A #797028 #287948
split-complementary
#283179 #794828 #5A7928
monochromatic
#0A0C1D #191E4B #283179 #3744A7 #5561C7

Accessibility & contrast

On white

11.63
#283179 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#283179 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283179
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283179#FFFFFF#000000##FFFFFF
##2831791.0011.631.8111.63
#FFFFFF11.631.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7B
Deuteranopia (green-blind)
#003578
Tritanopia (blue-blind)
#004250
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #283179;
/* rgb */ color: rgb(40, 49, 121);
/* oklch */ color: oklch(35.1% 0.122 273.0);
Tailwind
colors: {
  custom: {
    50: '#6c69a0',
    500: '#283179',
    950: '#000000',
  },
}
SCSS
$custom: #283179;
$custom-light: #6c69a0;
$custom-dark: #000000;
JSON
{
  "hex": "#283179",
  "rgb": {
    "r": 40,
    "g": 49,
    "b": 121
  },
  "hsl": {
    "h": 233.333,
    "s": 50.311,
    "l": 31.569
  },
  "oklch": {
    "l": 0.35104,
    "c": 0.12203,
    "h": 273
  },
  "luminance": 0.04028
}

Semantic roles & 50–950 ramp

primary
#283179
secondary
#ABA152
accent
#CA4EDA
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060F
muted
#7A7A7E

Preview Lab

Preview with #283179

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

Preview Lab → · Contrast checker → · Palette generator →

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