#273AB1#273AB1

#273AB1 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.9% C 0.188 H 269.0°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#273AB1
RGBrgb(39, 58, 177)
HSLhsl(232, 64%, 42%)
HSVhsv(232, 78%, 69%)
CMYKcmyk(78%, 67.2%, 0%, 30.6%)
CIE-LABlab(30.95, 35.87, -65.01)
CIE-LCHlch(30.95, 74.25, 298.89°)
OKLaboklab(41.91% -0.0032 -0.1882)
OKLCHoklch(41.91% 0.188 269)
XYZxyz(10.2828, 6.6306, 42.3243)
Luminance0.0663 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273AB1 #B19E27
analogous
#277FB1 #273AB1 #5927B1
triadic
#273AB1 #B1273A #3AB127
tetradic
#273AB1 #B1277F #B19E27 #27B159
square
#273AB1 #B1277F #B19E27 #27B159
split-complementary
#273AB1 #B15927 #7FB127
monochromatic
#11194D #1C2A7F #273AB1 #4055D5 #7281E0

Accessibility & contrast

On white

9.03
#273AB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#273AB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273AB1
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273AB1#FFFFFF#000000##FFFFFF
##273AB11.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B5
Deuteranopia (green-blind)
#0042AF
Tritanopia (blue-blind)
#005A70
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #273ab1;
/* rgb */ color: rgb(39, 58, 177);
/* oklch */ color: oklch(41.9% 0.188 269.0);
Tailwind
colors: {
  custom: {
    50: '#7870c9',
    500: '#273ab1',
    950: '#000000',
  },
}
SCSS
$custom: #273ab1;
$custom-light: #7870c9;
$custom-dark: #000000;
JSON
{
  "hex": "#273ab1",
  "rgb": {
    "r": 39,
    "g": 58,
    "b": 177
  },
  "hsl": {
    "h": 231.739,
    "s": 63.889,
    "l": 42.353
  },
  "oklch": {
    "l": 0.4191,
    "c": 0.18822,
    "h": 269
  },
  "luminance": 0.06632
}

Semantic roles & 50–950 ramp

primary
#273AB1
secondary
#C7BB6D
accent
#D041E7
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #273AB1

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

Preview Lab → · Contrast checker → · Palette generator →

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