#273E8A#273E8A

#273E8A is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.2% C 0.130 H 267.4°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#273E8A
RGBrgb(39, 62, 138)
HSLhsl(226, 56%, 35%)
HSVhsv(226, 72%, 54%)
CMYKcmyk(71.7%, 55.1%, 0%, 45.9%)
CIE-LABlab(28.67, 18.48, -45.07)
CIE-LCHlch(28.67, 48.71, 292.29°)
OKLaboklab(39.19% -0.0059 -0.1296)
OKLCHoklch(39.19% 0.13 267.4)
XYZxyz(7.1452, 5.7108, 24.7656)
Luminance0.0571 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273E8A #8A7327
analogous
#276F8A #273E8A #42278A
triadic
#273E8A #8A273E #3E8A27
tetradic
#273E8A #8A276F #8A7327 #278A42
square
#273E8A #8A276F #8A7327 #278A42
split-complementary
#273E8A #8A4227 #6F8A27
monochromatic
#0C132B #1A295A #273E8A #3453BA #5B76D1

Accessibility & contrast

On white

9.80
#273E8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#273E8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273E8A
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273E8A#FFFFFF#000000##FFFFFF
##273E8A1.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06488D
Deuteranopia (green-blind)
#003F88
Tritanopia (blue-blind)
#00505D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #273e8a;
/* rgb */ color: rgb(39, 62, 138);
/* oklch */ color: oklch(39.2% 0.130 267.4);
Tailwind
colors: {
  custom: {
    50: '#6e72ad',
    500: '#273e8a',
    950: '#000000',
  },
}
SCSS
$custom: #273e8a;
$custom-light: #6e72ad;
$custom-dark: #000000;
JSON
{
  "hex": "#273e8a",
  "rgb": {
    "r": 39,
    "g": 62,
    "b": 138
  },
  "hsl": {
    "h": 226.061,
    "s": 55.932,
    "l": 34.706
  },
  "oklch": {
    "l": 0.3919,
    "c": 0.12976,
    "h": 267.4
  },
  "luminance": 0.05712
}

Semantic roles & 50–950 ramp

primary
#273E8A
secondary
#B6A057
accent
#BC49DF
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #273E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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