#273E9A#273E9A

#273E9A is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.5% C 0.153 H 268.1°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#273E9A
RGBrgb(39, 62, 154)
HSLhsl(228, 60%, 38%)
HSVhsv(228, 75%, 60%)
CMYKcmyk(74.7%, 59.7%, 0%, 39.6%)
CIE-LABlab(29.93, 24.64, -52.83)
CIE-LCHlch(29.93, 58.29, 295.00°)
OKLaboklab(40.53% -0.0051 -0.1525)
OKLCHoklch(40.53% 0.153 268.1)
XYZxyz(8.3900, 6.2088, 31.3218)
Luminance0.0621 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273E9A #9A8327
analogous
#27779A #273E9A #49279A
triadic
#273E9A #9A273E #3E9A27
tetradic
#273E9A #9A2777 #9A8327 #279A49
square
#273E9A #9A2777 #9A8327 #279A49
split-complementary
#273E9A #9A4927 #779A27
monochromatic
#0E1738 #1B2A69 #273E9A #3352CB #647BD8

Accessibility & contrast

On white

9.37
#273E9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#273E9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273E9A
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273E9A#FFFFFF#000000##FFFFFF
##273E9A1.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9D
Deuteranopia (green-blind)
#004198
Tritanopia (blue-blind)
#005566
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #273e9a;
/* rgb */ color: rgb(39, 62, 154);
/* oklch */ color: oklch(40.5% 0.153 268.1);
Tailwind
colors: {
  custom: {
    50: '#7273b9',
    500: '#273e9a',
    950: '#000000',
  },
}
SCSS
$custom: #273e9a;
$custom-light: #7273b9;
$custom-dark: #000000;
JSON
{
  "hex": "#273e9a",
  "rgb": {
    "r": 39,
    "g": 62,
    "b": 154
  },
  "hsl": {
    "h": 228,
    "s": 59.585,
    "l": 37.843
  },
  "oklch": {
    "l": 0.40534,
    "c": 0.15255,
    "h": 268.1
  },
  "luminance": 0.0621
}

Semantic roles & 50–950 ramp

primary
#273E9A
secondary
#BDAB5F
accent
#C345E3
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #273E9A

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

Preview Lab → · Contrast checker → · Palette generator →

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