#273A9A#273A9A

#273A9A is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.7% C 0.158 H 269.2°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#273A9A
RGBrgb(39, 58, 154)
HSLhsl(230, 60%, 38%)
HSVhsv(230, 75%, 60%)
CMYKcmyk(74.7%, 62.3%, 0%, 39.6%)
CIE-LABlab(28.88, 27.33, -54.56)
CIE-LCHlch(28.88, 61.02, 296.61°)
OKLaboklab(39.75% -0.0022 -0.1576)
OKLCHoklch(39.75% 0.158 269.2)
XYZxyz(8.1805, 5.7897, 31.2520)
Luminance0.0579 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273A9A #9A8727
analogous
#27739A #273A9A #4D279A
triadic
#273A9A #9A273A #3A9A27
tetradic
#273A9A #9A2773 #9A8727 #279A4D
square
#273A9A #9A2773 #9A8727 #279A4D
split-complementary
#273A9A #9A4D27 #739A27
monochromatic
#0E1538 #1B2869 #273A9A #334CCB #6477D8

Accessibility & contrast

On white

9.73
#273A9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#273A9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273A9A
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273A9A#FFFFFF#000000##FFFFFF
##273A9A1.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9D
Deuteranopia (green-blind)
#003F98
Tritanopia (blue-blind)
#005364
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #273a9a;
/* rgb */ color: rgb(39, 58, 154);
/* oklch */ color: oklch(39.7% 0.158 269.2);
Tailwind
colors: {
  custom: {
    50: '#7370b9',
    500: '#273a9a',
    950: '#000000',
  },
}
SCSS
$custom: #273a9a;
$custom-light: #7370b9;
$custom-dark: #000000;
JSON
{
  "hex": "#273a9a",
  "rgb": {
    "r": 39,
    "g": 58,
    "b": 154
  },
  "hsl": {
    "h": 230.087,
    "s": 59.585,
    "l": 37.843
  },
  "oklch": {
    "l": 0.39748,
    "c": 0.15759,
    "h": 269.2
  },
  "luminance": 0.05791
}

Semantic roles & 50–950 ramp

primary
#273A9A
secondary
#BDAE5F
accent
#C945E3
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #273A9A

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

Preview Lab → · Contrast checker → · Palette generator →

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