#273BAE#273BAE

#273BAE is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.8% C 0.183 H 268.9°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#273BAE
RGBrgb(39, 59, 174)
HSLhsl(231, 63%, 42%)
HSVhsv(231, 78%, 68%)
CMYKcmyk(77.6%, 66.1%, 0%, 31.8%)
CIE-LABlab(30.91, 34.14, -63.29)
CIE-LCHlch(30.91, 71.91, 298.34°)
OKLaboklab(41.8% -0.0036 -0.1831)
OKLCHoklch(41.8% 0.183 268.9)
XYZxyz(10.0380, 6.6141, 40.7838)
Luminance0.0662 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273BAE #AE9A27
analogous
#277FAE #273BAE #5727AE
triadic
#273BAE #AE273B #3BAE27
tetradic
#273BAE #AE277F #AE9A27 #27AE57
square
#273BAE #AE277F #AE9A27 #27AE57
split-complementary
#273BAE #AE5727 #7FAE27
monochromatic
#11194A #1C2A7C #273BAE #3E55D4 #7081DF

Accessibility & contrast

On white

9.04
#273BAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#273BAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273BAE
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273BAE#FFFFFF#000000##FFFFFF
##273BAE1.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB2
Deuteranopia (green-blind)
#0042AC
Tritanopia (blue-blind)
#005A6F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #273bae;
/* rgb */ color: rgb(39, 59, 174);
/* oklch */ color: oklch(41.8% 0.183 268.9);
Tailwind
colors: {
  custom: {
    50: '#7771c7',
    500: '#273bae',
    950: '#000000',
  },
}
SCSS
$custom: #273bae;
$custom-light: #7771c7;
$custom-dark: #000000;
JSON
{
  "hex": "#273bae",
  "rgb": {
    "r": 39,
    "g": 59,
    "b": 174
  },
  "hsl": {
    "h": 231.111,
    "s": 63.38,
    "l": 41.765
  },
  "oklch": {
    "l": 0.41797,
    "c": 0.18317,
    "h": 268.9
  },
  "luminance": 0.06615
}

Semantic roles & 50–950 ramp

primary
#273BAE
secondary
#C6B86B
accent
#CE41E6
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #273BAE

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

Preview Lab → · Contrast checker → · Palette generator →

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