#273A8E#273A8E

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

Color values

HEX#273A8E
RGBrgb(39, 58, 142)
HSLhsl(229, 57%, 35%)
HSVhsv(229, 73%, 56%)
CMYKcmyk(72.5%, 59.2%, 0%, 44.3%)
CIE-LABlab(27.87, 22.76, -48.83)
CIE-LCHlch(27.87, 53.88, 294.99°)
OKLaboklab(38.69% -0.0022 -0.1408)
OKLCHoklch(38.69% 0.141 269.1)
XYZxyz(7.2306, 5.4097, 26.2491)
Luminance0.0541 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273A8E #8E7B27
analogous
#276D8E #273A8E #47278E
triadic
#273A8E #8E273A #3A8E27
tetradic
#273A8E #8E276D #8E7B27 #278E47
square
#273A8E #8E276D #8E7B27 #278E47
split-complementary
#273A8E #8E4727 #6D8E27
monochromatic
#0D132E #1A265E #273A8E #344EBE #5D73D2

Accessibility & contrast

On white

10.09
#273A8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#273A8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273A8E
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273A8E#FFFFFF#000000##FFFFFF
##273A8E1.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #273a8e;
/* rgb */ color: rgb(39, 58, 142);
/* oklch */ color: oklch(38.7% 0.141 269.1);
Tailwind
colors: {
  custom: {
    50: '#706fb0',
    500: '#273a8e',
    950: '#000000',
  },
}
SCSS
$custom: #273a8e;
$custom-light: #706fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#273a8e",
  "rgb": {
    "r": 39,
    "g": 58,
    "b": 142
  },
  "hsl": {
    "h": 228.932,
    "s": 56.906,
    "l": 35.49
  },
  "oklch": {
    "l": 0.38688,
    "c": 0.1408,
    "h": 269.1
  },
  "luminance": 0.0541
}

Semantic roles & 50–950 ramp

primary
#273A8E
secondary
#B8A659
accent
#C448E0
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #273A8E

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

Preview Lab → · Contrast checker → · Palette generator →

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