#273A88#273A88

#273A88 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.2% C 0.132 H 268.9°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#273A88
RGBrgb(39, 58, 136)
HSLhsl(228, 55%, 34%)
HSVhsv(228, 71%, 53%)
CMYKcmyk(71.3%, 57.4%, 0%, 46.7%)
CIE-LABlab(27.39, 20.45, -45.90)
CIE-LCHlch(27.39, 50.25, 294.02°)
OKLaboklab(38.18% -0.0025 -0.1321)
OKLCHoklch(38.18% 0.132 268.9)
XYZxyz(6.7922, 5.2344, 23.9402)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273A88 #887527
analogous
#276B88 #273A88 #442788
triadic
#273A88 #88273A #3A8827
tetradic
#273A88 #88276B #887527 #278844
square
#273A88 #88276B #887527 #278844
split-complementary
#273A88 #884427 #6B8827
monochromatic
#0C1129 #192658 #273A88 #354EB8 #5A71D0

Accessibility & contrast

On white

10.26
#273A88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #273A88
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273A88#FFFFFF#000000##FFFFFF
##273A881.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458B
Deuteranopia (green-blind)
#003C86
Tritanopia (blue-blind)
#004D5B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #273a88;
/* rgb */ color: rgb(39, 58, 136);
/* oklch */ color: oklch(38.2% 0.132 268.9);
Tailwind
colors: {
  custom: {
    50: '#6e6fab',
    500: '#273a88',
    950: '#000000',
  },
}
SCSS
$custom: #273a88;
$custom-light: #6e6fab;
$custom-dark: #000000;
JSON
{
  "hex": "#273a88",
  "rgb": {
    "r": 39,
    "g": 58,
    "b": 136
  },
  "hsl": {
    "h": 228.247,
    "s": 55.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.38179,
    "c": 0.13217,
    "h": 268.9
  },
  "luminance": 0.05235
}

Semantic roles & 50–950 ramp

primary
#273A88
secondary
#B5A256
accent
#C149DF
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #273A88

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

Preview Lab → · Contrast checker → · Palette generator →

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