#273666#273666

#273666 is a dark, moderate blue. Relative luminance 0.040; OKLCH L 34.6% C 0.086 H 268.6°. Best body text is #FFFFFF at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#273666
RGBrgb(39, 54, 102)
HSLhsl(226, 45%, 28%)
HSVhsv(226, 62%, 40%)
CMYKcmyk(61.8%, 47.1%, 0%, 60%)
CIE-LABlab(23.77, 10.19, -30.19)
CIE-LCHlch(23.77, 31.86, 288.65°)
OKLaboklab(34.65% -0.0021 -0.086)
OKLCHoklch(34.65% 0.086 268.6)
XYZxyz(4.5533, 4.0286, 13.1054)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273666 #665727
analogous
#275666 #273666 #372766
triadic
#273666 #662736 #366627
tetradic
#273666 #662756 #665727 #276637
square
#273666 #662756 #665727 #276637
split-complementary
#273666 #663727 #566627
monochromatic
#080C16 #161F3A #273666 #384D92 #4D67BB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##273666#FFFFFF#000000##FFFFFF
##2736661.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)
#203C68
Deuteranopia (green-blind)
#183665
Tritanopia (blue-blind)
#004149
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #273666;
/* rgb */ color: rgb(39, 54, 102);
/* oklch */ color: oklch(34.6% 0.086 268.6);
Tailwind
colors: {
  custom: {
    50: '#676c92',
    500: '#273666',
    950: '#000000',
  },
}
SCSS
$custom: #273666;
$custom-light: #676c92;
$custom-dark: #000000;
JSON
{
  "hex": "#273666",
  "rgb": {
    "r": 39,
    "g": 54,
    "b": 102
  },
  "hsl": {
    "h": 225.714,
    "s": 44.681,
    "l": 27.647
  },
  "oklch": {
    "l": 0.34646,
    "c": 0.08602,
    "h": 268.6
  },
  "luminance": 0.04029
}

Semantic roles & 50–950 ramp

primary
#273666
secondary
#998750
accent
#B653D4
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#06070D
muted
#7A7A7E

Preview Lab

Preview with #273666

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

Preview Lab → · Contrast checker → · Palette generator →

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