#273E8F#273E8F

#273E8F is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.6% C 0.137 H 267.7°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#273E8F
RGBrgb(39, 62, 143)
HSLhsl(227, 57%, 36%)
HSVhsv(227, 73%, 56%)
CMYKcmyk(72.7%, 56.6%, 0%, 43.9%)
CIE-LABlab(29.05, 20.41, -47.53)
CIE-LCHlch(29.05, 51.73, 293.24°)
OKLaboklab(39.6% -0.0055 -0.1369)
OKLCHoklch(39.6% 0.137 267.7)
XYZxyz(7.5155, 5.8590, 26.7161)
Luminance0.0586 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273E8F #8F7827
analogous
#27728F #273E8F #44278F
triadic
#273E8F #8F273E #3E8F27
tetradic
#273E8F #8F2772 #8F7827 #278F44
square
#273E8F #8F2772 #8F7827 #278F44
split-complementary
#273E8F #8F4427 #728F27
monochromatic
#0D142F #1A295F #273E8F #3453BF #5D77D3

Accessibility & contrast

On white

9.67
#273E8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#273E8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273E8F
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273E8F#FFFFFF#000000##FFFFFF
##273E8F1.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004992
Deuteranopia (green-blind)
#00408D
Tritanopia (blue-blind)
#005260
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #273e8f;
/* rgb */ color: rgb(39, 62, 143);
/* oklch */ color: oklch(39.6% 0.137 267.7);
Tailwind
colors: {
  custom: {
    50: '#7072b0',
    500: '#273e8f',
    950: '#000000',
  },
}
SCSS
$custom: #273e8f;
$custom-light: #7072b0;
$custom-dark: #000000;
JSON
{
  "hex": "#273e8f",
  "rgb": {
    "r": 39,
    "g": 62,
    "b": 143
  },
  "hsl": {
    "h": 226.731,
    "s": 57.143,
    "l": 35.686
  },
  "oklch": {
    "l": 0.396,
    "c": 0.13699,
    "h": 267.7
  },
  "luminance": 0.0586
}

Semantic roles & 50–950 ramp

primary
#273E8F
secondary
#B8A35A
accent
#BF47E0
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#080811
muted
#7B7B80

Preview Lab

Preview with #273E8F

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

Preview Lab → · Contrast checker → · Palette generator →

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