#273A89#273A89

#273A89 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.3% C 0.134 H 269.0°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#273A89
RGBrgb(39, 58, 137)
HSLhsl(228, 56%, 35%)
HSVhsv(228, 72%, 54%)
CMYKcmyk(71.5%, 57.7%, 0%, 46.3%)
CIE-LABlab(27.47, 20.84, -46.39)
CIE-LCHlch(27.47, 50.86, 294.19°)
OKLaboklab(38.26% -0.0024 -0.1336)
OKLCHoklch(38.26% 0.134 269)
XYZxyz(6.8636, 5.2629, 24.3162)
Luminance0.0526 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273A89 #897627
analogous
#276B89 #273A89 #452789
triadic
#273A89 #89273A #3A8927
tetradic
#273A89 #89276B #897627 #278945
square
#273A89 #89276B #897627 #278945
split-complementary
#273A89 #894527 #6B8927
monochromatic
#0C122A #192659 #273A89 #354EB9 #5A71D0

Accessibility & contrast

On white

10.23
#273A89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#273A89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273A89
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273A89#FFFFFF#000000##FFFFFF
##273A891.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468C
Deuteranopia (green-blind)
#003D87
Tritanopia (blue-blind)
#004D5B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #273a89;
/* rgb */ color: rgb(39, 58, 137);
/* oklch */ color: oklch(38.3% 0.134 269.0);
Tailwind
colors: {
  custom: {
    50: '#6f6fac',
    500: '#273a89',
    950: '#000000',
  },
}
SCSS
$custom: #273a89;
$custom-light: #6f6fac;
$custom-dark: #000000;
JSON
{
  "hex": "#273a89",
  "rgb": {
    "r": 39,
    "g": 58,
    "b": 137
  },
  "hsl": {
    "h": 228.367,
    "s": 55.682,
    "l": 34.51
  },
  "oklch": {
    "l": 0.38263,
    "c": 0.13361,
    "h": 269
  },
  "luminance": 0.05264
}

Semantic roles & 50–950 ramp

primary
#273A89
secondary
#B5A357
accent
#C249DF
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #273A89

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

Preview Lab → · Contrast checker → · Palette generator →

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