#273A91#273A91

#273A91 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 38.9% C 0.145 H 269.1°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#273A91
RGBrgb(39, 58, 145)
HSLhsl(229, 58%, 36%)
HSVhsv(229, 73%, 57%)
CMYKcmyk(73.1%, 60%, 0%, 43.1%)
CIE-LABlab(28.12, 23.91, -50.28)
CIE-LCHlch(28.12, 55.68, 295.43°)
OKLaboklab(38.95% -0.0022 -0.145)
OKLCHoklch(38.95% 0.145 269.1)
XYZxyz(7.4588, 5.5010, 27.4513)
Luminance0.0550 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273A91 #917E27
analogous
#276F91 #273A91 #492791
triadic
#273A91 #91273A #3A9127
tetradic
#273A91 #91276F #917E27 #279149
square
#273A91 #91276F #917E27 #279149
split-complementary
#273A91 #914927 #6F9127
monochromatic
#0D1331 #1A2761 #273A91 #344DC1 #5F74D4

Accessibility & contrast

On white

10.00
#273A91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#273A91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273A91
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273A91#FFFFFF#000000##FFFFFF
##273A911.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004794
Deuteranopia (green-blind)
#003E8F
Tritanopia (blue-blind)
#00505F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #273a91;
/* rgb */ color: rgb(39, 58, 145);
/* oklch */ color: oklch(38.9% 0.145 269.1);
Tailwind
colors: {
  custom: {
    50: '#706fb2',
    500: '#273a91',
    950: '#000000',
  },
}
SCSS
$custom: #273a91;
$custom-light: #706fb2;
$custom-dark: #000000;
JSON
{
  "hex": "#273a91",
  "rgb": {
    "r": 39,
    "g": 58,
    "b": 145
  },
  "hsl": {
    "h": 229.245,
    "s": 57.609,
    "l": 36.078
  },
  "oklch": {
    "l": 0.38949,
    "c": 0.14505,
    "h": 269.1
  },
  "luminance": 0.05502
}

Semantic roles & 50–950 ramp

primary
#273A91
secondary
#B9A85B
accent
#C547E1
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #273A91

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

Preview Lab → · Contrast checker → · Palette generator →

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