#273E7B#273E7B

#273E7B is a dark, moderate blue. Relative luminance 0.053; OKLCH L 38.0% C 0.108 H 265.9°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#273E7B
RGBrgb(39, 62, 123)
HSLhsl(224, 52%, 32%)
HSVhsv(224, 68%, 48%)
CMYKcmyk(68.3%, 49.6%, 0%, 51.8%)
CIE-LABlab(27.59, 12.66, -37.46)
CIE-LCHlch(27.59, 39.54, 288.68°)
OKLaboklab(38.02% -0.0076 -0.1072)
OKLCHoklch(38.02% 0.108 265.9)
XYZxyz(6.1332, 5.3061, 19.4360)
Luminance0.0531 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273E7B #7B6427
analogous
#27687B #273E7B #3A277B
triadic
#273E7B #7B273E #3E7B27
tetradic
#273E7B #7B2768 #7B6427 #277B3A
square
#273E7B #7B2768 #7B6427 #277B3A
split-complementary
#273E7B #7B3A27 #687B27
monochromatic
#0A0F1E #18274D #273E7B #3655A9 #5474C9

Accessibility & contrast

On white

10.19
#273E7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#273E7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273E7B
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273E7B#FFFFFF#000000##FFFFFF
##273E7B1.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E457D
Deuteranopia (green-blind)
#0C3E7A
Tritanopia (blue-blind)
#004C56
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #273e7b;
/* rgb */ color: rgb(39, 62, 123);
/* oklch */ color: oklch(38.0% 0.108 265.9);
Tailwind
colors: {
  custom: {
    50: '#6b72a2',
    500: '#273e7b',
    950: '#000000',
  },
}
SCSS
$custom: #273e7b;
$custom-light: #6b72a2;
$custom-dark: #000000;
JSON
{
  "hex": "#273e7b",
  "rgb": {
    "r": 39,
    "g": 62,
    "b": 123
  },
  "hsl": {
    "h": 223.571,
    "s": 51.852,
    "l": 31.765
  },
  "oklch": {
    "l": 0.38024,
    "c": 0.10751,
    "h": 265.9
  },
  "luminance": 0.05307
}

Semantic roles & 50–950 ramp

primary
#273E7B
secondary
#AD9451
accent
#B44CDB
background
#F6F6FA
surface
#ECECF3
border
#C7C7CD
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #273E7B

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

Preview Lab → · Contrast checker → · Palette generator →

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