#273A8B#273A8B

#273A8B is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.4% C 0.137 H 269.0°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#273A8B
RGBrgb(39, 58, 139)
HSLhsl(229, 56%, 35%)
HSVhsv(229, 72%, 55%)
CMYKcmyk(71.9%, 58.3%, 0%, 45.5%)
CIE-LABlab(27.63, 21.61, -47.37)
CIE-LCHlch(27.63, 52.07, 294.52°)
OKLaboklab(38.43% -0.0023 -0.1365)
OKLCHoklch(38.43% 0.137 269)
XYZxyz(7.0084, 5.3208, 25.0788)
Luminance0.0532 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273A8B #8B7827
analogous
#276C8B #273A8B #46278B
triadic
#273A8B #8B273A #3A8B27
tetradic
#273A8B #8B276C #8B7827 #278B46
square
#273A8B #8B276C #8B7827 #278B46
split-complementary
#273A8B #8B4627 #6C8B27
monochromatic
#0C122B #1A265B #273A8B #344EBB #5B72D1

Accessibility & contrast

On white

10.17
#273A8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#273A8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273A8B
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273A8B#FFFFFF#000000##FFFFFF
##273A8B1.0010.172.0610.17
#FFFFFF10.171.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468E
Deuteranopia (green-blind)
#003D89
Tritanopia (blue-blind)
#004E5C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #273a8b;
/* rgb */ color: rgb(39, 58, 139);
/* oklch */ color: oklch(38.4% 0.137 269.0);
Tailwind
colors: {
  custom: {
    50: '#6f6fae',
    500: '#273a8b',
    950: '#000000',
  },
}
SCSS
$custom: #273a8b;
$custom-light: #6f6fae;
$custom-dark: #000000;
JSON
{
  "hex": "#273a8b",
  "rgb": {
    "r": 39,
    "g": 58,
    "b": 139
  },
  "hsl": {
    "h": 228.6,
    "s": 56.18,
    "l": 34.902
  },
  "oklch": {
    "l": 0.38432,
    "c": 0.1365,
    "h": 269
  },
  "luminance": 0.05322
}

Semantic roles & 50–950 ramp

primary
#273A8B
secondary
#B6A458
accent
#C348DF
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #273A8B

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

Preview Lab → · Contrast checker → · Palette generator →

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