#273AAF#273AAF

#273AAF is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.7% C 0.186 H 269.1°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#273AAF
RGBrgb(39, 58, 175)
HSLhsl(232, 64%, 42%)
HSVhsv(232, 78%, 69%)
CMYKcmyk(77.7%, 66.9%, 0%, 31.4%)
CIE-LABlab(30.76, 35.14, -64.13)
CIE-LCHlch(30.76, 73.13, 298.72°)
OKLaboklab(41.72% -0.0031 -0.1856)
OKLCHoklch(41.72% 0.186 269.1)
XYZxyz(10.0850, 6.5515, 41.2822)
Luminance0.0655 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273AAF #AF9C27
analogous
#277EAF #273AAF #5827AF
triadic
#273AAF #AF273A #3AAF27
tetradic
#273AAF #AF277E #AF9C27 #27AF58
square
#273AAF #AF277E #AF9C27 #27AF58
split-complementary
#273AAF #AF5827 #7EAF27
monochromatic
#11194B #1C297D #273AAF #3F54D4 #7180DF

Accessibility & contrast

On white

9.09
#273AAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#273AAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273AAF
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273AAF#FFFFFF#000000##FFFFFF
##273AAF1.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB3
Deuteranopia (green-blind)
#0042AD
Tritanopia (blue-blind)
#005A6F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #273aaf;
/* rgb */ color: rgb(39, 58, 175);
/* oklch */ color: oklch(41.7% 0.186 269.1);
Tailwind
colors: {
  custom: {
    50: '#7870c8',
    500: '#273aaf',
    950: '#000000',
  },
}
SCSS
$custom: #273aaf;
$custom-light: #7870c8;
$custom-dark: #000000;
JSON
{
  "hex": "#273aaf",
  "rgb": {
    "r": 39,
    "g": 58,
    "b": 175
  },
  "hsl": {
    "h": 231.618,
    "s": 63.551,
    "l": 41.961
  },
  "oklch": {
    "l": 0.41716,
    "c": 0.18563,
    "h": 269.1
  },
  "luminance": 0.06553
}

Semantic roles & 50–950 ramp

primary
#273AAF
secondary
#C6BA6B
accent
#CF41E7
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #273AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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