#273A8D#273A8D

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

Color values

HEX#273A8D
RGBrgb(39, 58, 141)
HSLhsl(229, 57%, 35%)
HSVhsv(229, 72%, 55%)
CMYKcmyk(72.3%, 58.9%, 0%, 44.7%)
CIE-LABlab(27.79, 22.37, -48.35)
CIE-LCHlch(27.79, 53.27, 294.83°)
OKLaboklab(38.6% -0.0023 -0.1393)
OKLCHoklch(38.6% 0.139 269.1)
XYZxyz(7.1558, 5.3798, 25.8554)
Luminance0.0538 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273A8D #8D7A27
analogous
#276D8D #273A8D #47278D
triadic
#273A8D #8D273A #3A8D27
tetradic
#273A8D #8D276D #8D7A27 #278D47
square
#273A8D #8D276D #8D7A27 #278D47
split-complementary
#273A8D #8D4727 #6D8D27
monochromatic
#0C132D #1A265D #273A8D #344EBD #5C72D2

Accessibility & contrast

On white

10.11
#273A8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #273A8D
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273A8D#FFFFFF#000000##FFFFFF
##273A8D1.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004690
Deuteranopia (green-blind)
#003D8B
Tritanopia (blue-blind)
#004E5D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #273a8d;
/* rgb */ color: rgb(39, 58, 141);
/* oklch */ color: oklch(38.6% 0.139 269.1);
Tailwind
colors: {
  custom: {
    50: '#6f6faf',
    500: '#273a8d',
    950: '#000000',
  },
}
SCSS
$custom: #273a8d;
$custom-light: #6f6faf;
$custom-dark: #000000;
JSON
{
  "hex": "#273a8d",
  "rgb": {
    "r": 39,
    "g": 58,
    "b": 141
  },
  "hsl": {
    "h": 228.824,
    "s": 56.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.38603,
    "c": 0.13937,
    "h": 269.1
  },
  "luminance": 0.05381
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #273A8D

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

Preview Lab → · Contrast checker → · Palette generator →

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