#273E99#273E99

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

Color values

HEX#273E99
RGBrgb(39, 62, 153)
HSLhsl(228, 59%, 38%)
HSVhsv(228, 75%, 60%)
CMYKcmyk(74.5%, 59.5%, 0%, 40%)
CIE-LABlab(29.85, 24.26, -52.36)
CIE-LCHlch(29.85, 57.70, 294.86°)
OKLaboklab(40.45% -0.0051 -0.1511)
OKLCHoklch(40.45% 0.151 268.1)
XYZxyz(8.3071, 6.1756, 30.8850)
Luminance0.0618 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273E99 #998227
analogous
#277799 #273E99 #492799
triadic
#273E99 #99273E #3E9927
tetradic
#273E99 #992777 #998227 #279949
square
#273E99 #992777 #998227 #279949
split-complementary
#273E99 #994927 #779927
monochromatic
#0E1637 #1B2A68 #273E99 #3352CA #637BD7

Accessibility & contrast

On white

9.40
#273E99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #273E99
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273E99#FFFFFF#000000##FFFFFF
##273E991.009.402.249.40
#FFFFFF9.401.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9C
Deuteranopia (green-blind)
#004197
Tritanopia (blue-blind)
#005565
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #273e99;
/* rgb */ color: rgb(39, 62, 153);
/* oklch */ color: oklch(40.4% 0.151 268.1);
Tailwind
colors: {
  custom: {
    50: '#7273b8',
    500: '#273e99',
    950: '#000000',
  },
}
SCSS
$custom: #273e99;
$custom-light: #7273b8;
$custom-dark: #000000;
JSON
{
  "hex": "#273e99",
  "rgb": {
    "r": 39,
    "g": 62,
    "b": 153
  },
  "hsl": {
    "h": 227.895,
    "s": 59.375,
    "l": 37.647
  },
  "oklch": {
    "l": 0.40448,
    "c": 0.15116,
    "h": 268.1
  },
  "luminance": 0.06176
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #273E99

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

Preview Lab → · Contrast checker → · Palette generator →

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