#273996#273996

#273996 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.2% C 0.153 H 269.5°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#273996
RGBrgb(39, 57, 150)
HSLhsl(230, 59%, 37%)
HSVhsv(230, 74%, 59%)
CMYKcmyk(74%, 62%, 0%, 41.2%)
CIE-LABlab(28.27, 26.49, -53.10)
CIE-LCHlch(28.27, 59.34, 296.51°)
OKLaboklab(39.19% -0.0014 -0.1533)
OKLCHoklch(39.19% 0.153 269.5)
XYZxyz(7.8030, 5.5588, 29.5100)
Luminance0.0556 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273996 #968427
analogous
#277196 #273996 #4C2796
triadic
#273996 #962739 #399627
tetradic
#273996 #962771 #968427 #27964C
square
#273996 #962771 #968427 #27964C
split-complementary
#273996 #964C27 #719627
monochromatic
#0E1435 #1A2765 #273996 #344BC7 #6174D6

Accessibility & contrast

On white

9.94
#273996 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#273996 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273996
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273996#FFFFFF#000000##FFFFFF
##2739961.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004899
Deuteranopia (green-blind)
#003E94
Tritanopia (blue-blind)
#005162
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #273996;
/* rgb */ color: rgb(39, 57, 150);
/* oklch */ color: oklch(39.2% 0.153 269.5);
Tailwind
colors: {
  custom: {
    50: '#726fb6',
    500: '#273996',
    950: '#000000',
  },
}
SCSS
$custom: #273996;
$custom-light: #726fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#273996",
  "rgb": {
    "r": 39,
    "g": 57,
    "b": 150
  },
  "hsl": {
    "h": 230.27,
    "s": 58.73,
    "l": 37.059
  },
  "oklch": {
    "l": 0.39194,
    "c": 0.15333,
    "h": 269.5
  },
  "luminance": 0.0556
}

Semantic roles & 50–950 ramp

primary
#273996
secondary
#BCAC5D
accent
#C946E2
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #273996

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

Preview Lab → · Contrast checker → · Palette generator →

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