#273AAE#273AAE

#273AAE is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.6% C 0.184 H 269.1°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#273AAE
RGBrgb(39, 58, 174)
HSLhsl(232, 63%, 42%)
HSVhsv(232, 78%, 68%)
CMYKcmyk(77.6%, 66.7%, 0%, 31.8%)
CIE-LABlab(30.67, 34.78, -63.68)
CIE-LCHlch(30.67, 72.56, 298.64°)
OKLaboklab(41.62% -0.003 -0.1843)
OKLCHoklch(41.62% 0.184 269.1)
XYZxyz(9.9871, 6.5123, 40.7668)
Luminance0.0651 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273AAE #AE9B27
analogous
#277DAE #273AAE #5827AE
triadic
#273AAE #AE273A #3AAE27
tetradic
#273AAE #AE277D #AE9B27 #27AE58
square
#273AAE #AE277D #AE9B27 #27AE58
split-complementary
#273AAE #AE5827 #7DAE27
monochromatic
#11194A #1C297C #273AAE #3E53D4 #7080DF

Accessibility & contrast

On white

9.12
#273AAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#273AAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273AAE
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273AAE#FFFFFF#000000##FFFFFF
##273AAE1.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB2
Deuteranopia (green-blind)
#0042AC
Tritanopia (blue-blind)
#00596F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #273aae;
/* rgb */ color: rgb(39, 58, 174);
/* oklch */ color: oklch(41.6% 0.184 269.1);
Tailwind
colors: {
  custom: {
    50: '#7870c7',
    500: '#273aae',
    950: '#000000',
  },
}
SCSS
$custom: #273aae;
$custom-light: #7870c7;
$custom-dark: #000000;
JSON
{
  "hex": "#273aae",
  "rgb": {
    "r": 39,
    "g": 58,
    "b": 174
  },
  "hsl": {
    "h": 231.556,
    "s": 63.38,
    "l": 41.765
  },
  "oklch": {
    "l": 0.4162,
    "c": 0.18433,
    "h": 269.1
  },
  "luminance": 0.06513
}

Semantic roles & 50–950 ramp

primary
#273AAE
secondary
#C6B96B
accent
#CF41E6
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #273AAE

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

Preview Lab → · Contrast checker → · Palette generator →

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