#273179#273179

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

Color values

HEX#273179
RGBrgb(39, 49, 121)
HSLhsl(233, 51%, 31%)
HSVhsv(233, 68%, 47%)
CMYKcmyk(67.8%, 59.5%, 0%, 52.5%)
CIE-LABlab(23.70, 20.93, -42.48)
CIE-LCHlch(23.70, 47.35, 296.23°)
OKLaboklab(35.04% 0.0052 -0.1222)
OKLCHoklch(35.04% 0.122 272.5)
XYZxyz(5.3850, 4.0080, 18.5753)
Luminance0.0401 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273179 #796F27
analogous
#275A79 #273179 #462779
triadic
#273179 #792731 #317927
tetradic
#273179 #79275A #796F27 #277946
square
#273179 #79275A #796F27 #277946
split-complementary
#273179 #794627 #5A7927
monochromatic
#090C1C #181E4B #273179 #3644A7 #5361C8

Accessibility & contrast

On white

11.66
#273179 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#273179 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273179
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273179#FFFFFF#000000##FFFFFF
##2731791.0011.661.8011.66
#FFFFFF11.661.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #273179;
/* rgb */ color: rgb(39, 49, 121);
/* oklch */ color: oklch(35.0% 0.122 272.5);
Tailwind
colors: {
  custom: {
    50: '#6c69a0',
    500: '#273179',
    950: '#000000',
  },
}
SCSS
$custom: #273179;
$custom-light: #6c69a0;
$custom-dark: #000000;
JSON
{
  "hex": "#273179",
  "rgb": {
    "r": 39,
    "g": 49,
    "b": 121
  },
  "hsl": {
    "h": 232.683,
    "s": 51.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.35038,
    "c": 0.12232,
    "h": 272.5
  },
  "luminance": 0.04008
}

Semantic roles & 50–950 ramp

primary
#273179
secondary
#ABA051
accent
#C94DDB
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060F
muted
#7A7A7E

Preview Lab

Preview with #273179

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

Preview Lab → · Contrast checker → · Palette generator →

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