#273C96#273C96

#273C96 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.8% C 0.150 H 268.6°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#273C96
RGBrgb(39, 60, 150)
HSLhsl(229, 59%, 37%)
HSVhsv(229, 74%, 59%)
CMYKcmyk(74%, 60%, 0%, 41.2%)
CIE-LABlab(29.07, 24.46, -51.80)
CIE-LCHlch(29.07, 57.29, 295.28°)
OKLaboklab(39.79% -0.0037 -0.1495)
OKLCHoklch(39.79% 0.15 268.6)
XYZxyz(7.9557, 5.8642, 29.5609)
Luminance0.0587 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273C96 #968127
analogous
#277396 #273C96 #4A2796
triadic
#273C96 #96273C #3C9627
tetradic
#273C96 #962773 #968127 #27964A
square
#273C96 #962773 #968127 #27964A
split-complementary
#273C96 #964A27 #739627
monochromatic
#0E1535 #1A2965 #273C96 #344FC7 #6177D6

Accessibility & contrast

On white

9.66
#273C96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#273C96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273C96
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273C96#FFFFFF#000000##FFFFFF
##273C961.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A99
Deuteranopia (green-blind)
#004094
Tritanopia (blue-blind)
#005363
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #273c96;
/* rgb */ color: rgb(39, 60, 150);
/* oklch */ color: oklch(39.8% 0.150 268.6);
Tailwind
colors: {
  custom: {
    50: '#7171b6',
    500: '#273c96',
    950: '#000000',
  },
}
SCSS
$custom: #273c96;
$custom-light: #7171b6;
$custom-dark: #000000;
JSON
{
  "hex": "#273c96",
  "rgb": {
    "r": 39,
    "g": 60,
    "b": 150
  },
  "hsl": {
    "h": 228.649,
    "s": 58.73,
    "l": 37.059
  },
  "oklch": {
    "l": 0.39786,
    "c": 0.14951,
    "h": 268.6
  },
  "luminance": 0.05865
}

Semantic roles & 50–950 ramp

primary
#273C96
secondary
#BCAA5D
accent
#C446E2
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #273C96

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

Preview Lab → · Contrast checker → · Palette generator →

#273C96 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva