#273E91#273E91

#273E91 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.8% C 0.140 H 267.8°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#273E91
RGBrgb(39, 62, 145)
HSLhsl(227, 58%, 36%)
HSVhsv(227, 73%, 57%)
CMYKcmyk(73.1%, 57.2%, 0%, 43.1%)
CIE-LABlab(29.21, 21.18, -48.51)
CIE-LCHlch(29.21, 52.93, 293.59°)
OKLaboklab(39.77% -0.0054 -0.1398)
OKLCHoklch(39.77% 0.14 267.8)
XYZxyz(7.6684, 5.9201, 27.5211)
Luminance0.0592 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273E91 #917A27
analogous
#277391 #273E91 #452791
triadic
#273E91 #91273E #3E9127
tetradic
#273E91 #912773 #917A27 #279145
square
#273E91 #912773 #917A27 #279145
split-complementary
#273E91 #914527 #739127
monochromatic
#0D1531 #1A2961 #273E91 #3453C1 #5F78D4

Accessibility & contrast

On white

9.61
#273E91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#273E91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273E91
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273E91#FFFFFF#000000##FFFFFF
##273E911.009.612.189.61
#FFFFFF9.611.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A94
Deuteranopia (green-blind)
#00408F
Tritanopia (blue-blind)
#005261
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #273e91;
/* rgb */ color: rgb(39, 62, 145);
/* oklch */ color: oklch(39.8% 0.140 267.8);
Tailwind
colors: {
  custom: {
    50: '#7072b2',
    500: '#273e91',
    950: '#000000',
  },
}
SCSS
$custom: #273e91;
$custom-light: #7072b2;
$custom-dark: #000000;
JSON
{
  "hex": "#273e91",
  "rgb": {
    "r": 39,
    "g": 62,
    "b": 145
  },
  "hsl": {
    "h": 226.981,
    "s": 57.609,
    "l": 36.078
  },
  "oklch": {
    "l": 0.39766,
    "c": 0.13986,
    "h": 267.8
  },
  "luminance": 0.05921
}

Semantic roles & 50–950 ramp

primary
#273E91
secondary
#B9A55B
accent
#BF47E1
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #273E91

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

Preview Lab → · Contrast checker → · Palette generator →

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