#273166#273166

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

Color values

HEX#273166
RGBrgb(39, 49, 102)
HSLhsl(230, 45%, 28%)
HSVhsv(230, 62%, 40%)
CMYKcmyk(61.8%, 52%, 0%, 60%)
CIE-LABlab(22.26, 13.71, -32.60)
CIE-LCHlch(22.26, 35.37, 292.81°)
OKLaboklab(33.5% 0.0039 -0.0932)
OKLCHoklch(33.5% 0.093 272.4)
XYZxyz(4.3325, 3.5869, 13.0318)
Luminance0.0359 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273166 #665C27
analogous
#275166 #273166 #3C2766
triadic
#273166 #662731 #316627
tetradic
#273166 #662751 #665C27 #27663C
square
#273166 #662751 #665C27 #27663C
split-complementary
#273166 #663C27 #516627
monochromatic
#080B16 #161C3A #273166 #384692 #4D5EBB

Accessibility & contrast

On white

12.23
#273166 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #273166
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273166#FFFFFF#000000##FFFFFF
##2731661.0012.231.7212.23
#FFFFFF12.231.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#163868
Deuteranopia (green-blind)
#0C3365
Tritanopia (blue-blind)
#003D46
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #273166;
/* rgb */ color: rgb(39, 49, 102);
/* oklch */ color: oklch(33.5% 0.093 272.4);
Tailwind
colors: {
  custom: {
    50: '#676892',
    500: '#273166',
    950: '#000000',
  },
}
SCSS
$custom: #273166;
$custom-light: #676892;
$custom-dark: #000000;
JSON
{
  "hex": "#273166",
  "rgb": {
    "r": 39,
    "g": 49,
    "b": 102
  },
  "hsl": {
    "h": 230.476,
    "s": 44.681,
    "l": 27.647
  },
  "oklch": {
    "l": 0.33496,
    "c": 0.09324,
    "h": 272.4
  },
  "luminance": 0.03587
}

Semantic roles & 50–950 ramp

primary
#273166
secondary
#998D50
accent
#C053D4
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #273166

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

Preview Lab → · Contrast checker → · Palette generator →

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