#273A9E#273A9E

#273A9E is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.1% C 0.163 H 269.2°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#273A9E
RGBrgb(39, 58, 158)
HSLhsl(230, 60%, 39%)
HSVhsv(230, 75%, 62%)
CMYKcmyk(75.3%, 63.3%, 0%, 38%)
CIE-LABlab(29.22, 28.84, -56.42)
CIE-LCHlch(29.22, 63.36, 297.07°)
OKLaboklab(40.11% -0.0022 -0.163)
OKLCHoklch(40.11% 0.163 269.2)
XYZxyz(8.5192, 5.9252, 33.0358)
Luminance0.0593 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273A9E #9E8B27
analogous
#27759E #273A9E #4F279E
triadic
#273A9E #9E273A #3A9E27
tetradic
#273A9E #9E2775 #9E8B27 #279E4F
square
#273A9E #9E2775 #9E8B27 #279E4F
split-complementary
#273A9E #9E4F27 #759E27
monochromatic
#0F163C #1B286D #273A9E #354DCD #6679D9

Accessibility & contrast

On white

9.61
#273A9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#273A9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273A9E
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273A9E#FFFFFF#000000##FFFFFF
##273A9E1.009.612.199.61
#FFFFFF9.611.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA1
Deuteranopia (green-blind)
#003F9C
Tritanopia (blue-blind)
#005466
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #273a9e;
/* rgb */ color: rgb(39, 58, 158);
/* oklch */ color: oklch(40.1% 0.163 269.2);
Tailwind
colors: {
  custom: {
    50: '#7470bc',
    500: '#273a9e',
    950: '#000000',
  },
}
SCSS
$custom: #273a9e;
$custom-light: #7470bc;
$custom-dark: #000000;
JSON
{
  "hex": "#273a9e",
  "rgb": {
    "r": 39,
    "g": 58,
    "b": 158
  },
  "hsl": {
    "h": 230.42,
    "s": 60.406,
    "l": 38.627
  },
  "oklch": {
    "l": 0.40113,
    "c": 0.16307,
    "h": 269.2
  },
  "luminance": 0.05926
}

Semantic roles & 50–950 ramp

primary
#273A9E
secondary
#BFB062
accent
#CA44E4
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #273A9E

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

Preview Lab → · Contrast checker → · Palette generator →

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