#273E8B#273E8B

#273E8B is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.3% C 0.131 H 267.5°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#273E8B
RGBrgb(39, 62, 139)
HSLhsl(226, 56%, 35%)
HSVhsv(226, 72%, 55%)
CMYKcmyk(71.9%, 55.4%, 0%, 45.5%)
CIE-LABlab(28.75, 18.86, -45.56)
CIE-LCHlch(28.75, 49.31, 292.49°)
OKLaboklab(39.27% -0.0058 -0.1311)
OKLCHoklch(39.27% 0.131 267.5)
XYZxyz(7.2179, 5.7399, 25.1486)
Luminance0.0574 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273E8B #8B7427
analogous
#27708B #273E8B #42278B
triadic
#273E8B #8B273E #3E8B27
tetradic
#273E8B #8B2770 #8B7427 #278B42
square
#273E8B #8B2770 #8B7427 #278B42
split-complementary
#273E8B #8B4227 #708B27
monochromatic
#0C132B #1A295B #273E8B #3453BB #5B76D1

Accessibility & contrast

On white

9.78
#273E8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#273E8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273E8B
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273E8B#FFFFFF#000000##FFFFFF
##273E8B1.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03498E
Deuteranopia (green-blind)
#003F89
Tritanopia (blue-blind)
#00515E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #273e8b;
/* rgb */ color: rgb(39, 62, 139);
/* oklch */ color: oklch(39.3% 0.131 267.5);
Tailwind
colors: {
  custom: {
    50: '#6f72ad',
    500: '#273e8b',
    950: '#000000',
  },
}
SCSS
$custom: #273e8b;
$custom-light: #6f72ad;
$custom-dark: #000000;
JSON
{
  "hex": "#273e8b",
  "rgb": {
    "r": 39,
    "g": 62,
    "b": 139
  },
  "hsl": {
    "h": 226.2,
    "s": 56.18,
    "l": 34.902
  },
  "oklch": {
    "l": 0.39271,
    "c": 0.13122,
    "h": 267.5
  },
  "luminance": 0.05741
}

Semantic roles & 50–950 ramp

primary
#273E8B
secondary
#B6A058
accent
#BD48DF
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #273E8B

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

Preview Lab → · Contrast checker → · Palette generator →

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