#273E7E#273E7E

#273E7E is a dark, moderate blue. Relative luminance 0.054; OKLCH L 38.2% C 0.112 H 266.3°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#273E7E
RGBrgb(39, 62, 126)
HSLhsl(224, 53%, 32%)
HSVhsv(224, 69%, 49%)
CMYKcmyk(69%, 50.8%, 0%, 50.6%)
CIE-LABlab(27.80, 13.82, -39.00)
CIE-LCHlch(27.80, 41.38, 289.52°)
OKLaboklab(38.25% -0.0072 -0.1118)
OKLCHoklch(38.25% 0.112 266.3)
XYZxyz(6.3239, 5.3823, 20.4402)
Luminance0.0538 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273E7E #7E6727
analogous
#27697E #273E7E #3C277E
triadic
#273E7E #7E273E #3E7E27
tetradic
#273E7E #7E2769 #7E6727 #277E3C
square
#273E7E #7E2769 #7E6727 #277E3C
split-complementary
#273E7E #7E3C27 #697E27
monochromatic
#0A1021 #19274F #273E7E #3555AD #5574CA

Accessibility & contrast

On white

10.11
#273E7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#273E7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273E7E
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273E7E#FFFFFF#000000##FFFFFF
##273E7E1.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4680
Deuteranopia (green-blind)
#043E7D
Tritanopia (blue-blind)
#004D58
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #273e7e;
/* rgb */ color: rgb(39, 62, 126);
/* oklch */ color: oklch(38.2% 0.112 266.3);
Tailwind
colors: {
  custom: {
    50: '#6c72a4',
    500: '#273e7e',
    950: '#000000',
  },
}
SCSS
$custom: #273e7e;
$custom-light: #6c72a4;
$custom-dark: #000000;
JSON
{
  "hex": "#273e7e",
  "rgb": {
    "r": 39,
    "g": 62,
    "b": 126
  },
  "hsl": {
    "h": 224.138,
    "s": 52.727,
    "l": 32.353
  },
  "oklch": {
    "l": 0.38249,
    "c": 0.11203,
    "h": 266.3
  },
  "luminance": 0.05383
}

Semantic roles & 50–950 ramp

primary
#273E7E
secondary
#AF9652
accent
#B64CDC
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #273E7E

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

Preview Lab → · Contrast checker → · Palette generator →

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