#273E93#273E93

#273E93 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 39.9% C 0.143 H 267.9°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#273E93
RGBrgb(39, 62, 147)
HSLhsl(227, 58%, 36%)
HSVhsv(227, 73%, 58%)
CMYKcmyk(73.5%, 57.8%, 0%, 42.4%)
CIE-LABlab(29.37, 21.95, -49.48)
CIE-LCHlch(29.37, 54.13, 293.93°)
OKLaboklab(39.93% -0.0053 -0.1426)
OKLCHoklch(39.93% 0.143 267.9)
XYZxyz(7.8240, 5.9824, 28.3405)
Luminance0.0598 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273E93 #937C27
analogous
#277493 #273E93 #462793
triadic
#273E93 #93273E #3E9327
tetradic
#273E93 #932774 #937C27 #279346
square
#273E93 #932774 #937C27 #279346
split-complementary
#273E93 #934627 #749327
monochromatic
#0D1532 #1A2A63 #273E93 #3452C3 #6079D5

Accessibility & contrast

On white

9.56
#273E93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#273E93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273E93
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273E93#FFFFFF#000000##FFFFFF
##273E931.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A96
Deuteranopia (green-blind)
#004091
Tritanopia (blue-blind)
#005362
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #273e93;
/* rgb */ color: rgb(39, 62, 147);
/* oklch */ color: oklch(39.9% 0.143 267.9);
Tailwind
colors: {
  custom: {
    50: '#7172b3',
    500: '#273e93',
    950: '#000000',
  },
}
SCSS
$custom: #273e93;
$custom-light: #7172b3;
$custom-dark: #000000;
JSON
{
  "hex": "#273e93",
  "rgb": {
    "r": 39,
    "g": 62,
    "b": 147
  },
  "hsl": {
    "h": 227.222,
    "s": 58.065,
    "l": 36.471
  },
  "oklch": {
    "l": 0.39934,
    "c": 0.14271,
    "h": 267.9
  },
  "luminance": 0.05983
}

Semantic roles & 50–950 ramp

primary
#273E93
secondary
#BAA65C
accent
#C047E1
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #273E93

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

Preview Lab → · Contrast checker → · Palette generator →

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