#273167#273167

#273167 is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.6% C 0.095 H 272.4°. Best body text is #FFFFFF at 12.20:1 contrast (WCAG AA passes).

Color values

HEX#273167
RGBrgb(39, 49, 103)
HSLhsl(231, 45%, 28%)
HSVhsv(231, 62%, 40%)
CMYKcmyk(62.1%, 52.4%, 0%, 59.6%)
CIE-LABlab(22.33, 14.09, -33.14)
CIE-LCHlch(22.33, 36.01, 293.03°)
OKLaboklab(33.57% 0.004 -0.0947)
OKLCHoklch(33.57% 0.095 272.4)
XYZxyz(4.3824, 3.6069, 13.2946)
Luminance0.0361 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273167 #675D27
analogous
#275167 #273167 #3D2767
triadic
#273167 #672731 #316727
tetradic
#273167 #672751 #675D27 #27673D
square
#273167 #672751 #675D27 #27673D
split-complementary
#273167 #673D27 #516727
monochromatic
#080B16 #161C3B #273167 #384693 #4D5EBC

Accessibility & contrast

On white

12.20
#273167 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#273167 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273167
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273167#FFFFFF#000000##FFFFFF
##2731671.0012.201.7212.20
#FFFFFF12.201.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153869
Deuteranopia (green-blind)
#0A3366
Tritanopia (blue-blind)
#003D47
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #273167;
/* rgb */ color: rgb(39, 49, 103);
/* oklch */ color: oklch(33.6% 0.095 272.4);
Tailwind
colors: {
  custom: {
    50: '#686893',
    500: '#273167',
    950: '#000000',
  },
}
SCSS
$custom: #273167;
$custom-light: #686893;
$custom-dark: #000000;
JSON
{
  "hex": "#273167",
  "rgb": {
    "r": 39,
    "g": 49,
    "b": 103
  },
  "hsl": {
    "h": 230.625,
    "s": 45.07,
    "l": 27.843
  },
  "oklch": {
    "l": 0.33572,
    "c": 0.09482,
    "h": 272.4
  },
  "luminance": 0.03607
}

Semantic roles & 50–950 ramp

primary
#273167
secondary
#9A8E50
accent
#C053D5
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #273167

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

Preview Lab → · Contrast checker → · Palette generator →

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