#273A99#273A99

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

Color values

HEX#273A99
RGBrgb(39, 58, 153)
HSLhsl(230, 59%, 38%)
HSVhsv(230, 75%, 60%)
CMYKcmyk(74.5%, 62.1%, 0%, 40%)
CIE-LABlab(28.79, 26.95, -54.09)
CIE-LCHlch(28.79, 60.43, 296.49°)
OKLaboklab(39.66% -0.0022 -0.1562)
OKLCHoklch(39.66% 0.156 269.2)
XYZxyz(8.0975, 5.7565, 30.8152)
Luminance0.0576 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273A99 #998627
analogous
#277399 #273A99 #4D2799
triadic
#273A99 #99273A #3A9927
tetradic
#273A99 #992773 #998627 #27994D
square
#273A99 #992773 #998627 #27994D
split-complementary
#273A99 #994D27 #739927
monochromatic
#0E1537 #1B2868 #273A99 #334CCA #6376D7

Accessibility & contrast

On white

9.76
#273A99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#273A99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273A99
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273A99#FFFFFF#000000##FFFFFF
##273A991.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499C
Deuteranopia (green-blind)
#003F97
Tritanopia (blue-blind)
#005264
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #273a99;
/* rgb */ color: rgb(39, 58, 153);
/* oklch */ color: oklch(39.7% 0.156 269.2);
Tailwind
colors: {
  custom: {
    50: '#7270b8',
    500: '#273a99',
    950: '#000000',
  },
}
SCSS
$custom: #273a99;
$custom-light: #7270b8;
$custom-dark: #000000;
JSON
{
  "hex": "#273a99",
  "rgb": {
    "r": 39,
    "g": 58,
    "b": 153
  },
  "hsl": {
    "h": 230,
    "s": 59.375,
    "l": 37.647
  },
  "oklch": {
    "l": 0.39658,
    "c": 0.15621,
    "h": 269.2
  },
  "luminance": 0.05757
}

Semantic roles & 50–950 ramp

primary
#273A99
secondary
#BDAD5F
accent
#C845E3
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #273A99

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

Preview Lab → · Contrast checker → · Palette generator →

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