#273A8F#273A8F

#273A8F is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.8% C 0.142 H 269.1°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#273A8F
RGBrgb(39, 58, 143)
HSLhsl(229, 57%, 36%)
HSVhsv(229, 73%, 56%)
CMYKcmyk(72.7%, 59.4%, 0%, 43.9%)
CIE-LABlab(27.95, 23.14, -49.32)
CIE-LCHlch(27.95, 54.48, 295.14°)
OKLaboklab(38.78% -0.0022 -0.1422)
OKLCHoklch(38.78% 0.142 269.1)
XYZxyz(7.3060, 5.4399, 26.6462)
Luminance0.0544 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273A8F #8F7C27
analogous
#276E8F #273A8F #48278F
triadic
#273A8F #8F273A #3A8F27
tetradic
#273A8F #8F276E #8F7C27 #278F48
square
#273A8F #8F276E #8F7C27 #278F48
split-complementary
#273A8F #8F4827 #6E8F27
monochromatic
#0D132F #1A265F #273A8F #344EBF #5D73D3

Accessibility & contrast

On white

10.06
#273A8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#273A8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273A8F
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273A8F#FFFFFF#000000##FFFFFF
##273A8F1.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004792
Deuteranopia (green-blind)
#003D8D
Tritanopia (blue-blind)
#004F5E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #273a8f;
/* rgb */ color: rgb(39, 58, 143);
/* oklch */ color: oklch(38.8% 0.142 269.1);
Tailwind
colors: {
  custom: {
    50: '#706fb0',
    500: '#273a8f',
    950: '#000000',
  },
}
SCSS
$custom: #273a8f;
$custom-light: #706fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#273a8f",
  "rgb": {
    "r": 39,
    "g": 58,
    "b": 143
  },
  "hsl": {
    "h": 229.038,
    "s": 57.143,
    "l": 35.686
  },
  "oklch": {
    "l": 0.38775,
    "c": 0.14222,
    "h": 269.1
  },
  "luminance": 0.05441
}

Semantic roles & 50–950 ramp

primary
#273A8F
secondary
#B8A75A
accent
#C447E0
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#080711
muted
#7B7A80

Preview Lab

Preview with #273A8F

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

Preview Lab → · Contrast checker → · Palette generator →

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