#273AA4#273AA4

#273AA4 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.7% C 0.171 H 269.2°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#273AA4
RGBrgb(39, 58, 164)
HSLhsl(231, 62%, 40%)
HSVhsv(231, 76%, 64%)
CMYKcmyk(76.2%, 64.6%, 0%, 35.7%)
CIE-LABlab(29.75, 31.08, -59.18)
CIE-LCHlch(29.75, 66.85, 297.71°)
OKLaboklab(40.67% -0.0025 -0.1711)
OKLCHoklch(40.67% 0.171 269.2)
XYZxyz(9.0483, 6.1368, 35.8224)
Luminance0.0614 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273AA4 #A49127
analogous
#2779A4 #273AA4 #5327A4
triadic
#273AA4 #A4273A #3AA427
tetradic
#273AA4 #A42779 #A49127 #27A453
square
#273AA4 #A42779 #A49127 #27A453
split-complementary
#273AA4 #A45327 #79A427
monochromatic
#0F1741 #1B2973 #273AA4 #384FD0 #6A7BDC

Accessibility & contrast

On white

9.43
#273AA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#273AA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273AA4
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273AA4#FFFFFF#000000##FFFFFF
##273AA41.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA7
Deuteranopia (green-blind)
#0040A2
Tritanopia (blue-blind)
#005669
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #273aa4;
/* rgb */ color: rgb(39, 58, 164);
/* oklch */ color: oklch(40.7% 0.171 269.2);
Tailwind
colors: {
  custom: {
    50: '#7570c0',
    500: '#273aa4',
    950: '#000000',
  },
}
SCSS
$custom: #273aa4;
$custom-light: #7570c0;
$custom-dark: #000000;
JSON
{
  "hex": "#273aa4",
  "rgb": {
    "r": 39,
    "g": 58,
    "b": 164
  },
  "hsl": {
    "h": 230.88,
    "s": 61.576,
    "l": 39.804
  },
  "oklch": {
    "l": 0.40669,
    "c": 0.17115,
    "h": 269.2
  },
  "luminance": 0.06138
}

Semantic roles & 50–950 ramp

primary
#273AA4
secondary
#C2B465
accent
#CC43E5
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #273AA4

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

Preview Lab → · Contrast checker → · Palette generator →

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