#273E7A#273E7A

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

Color values

HEX#273E7A
RGBrgb(39, 62, 122)
HSLhsl(223, 52%, 32%)
HSVhsv(223, 68%, 48%)
CMYKcmyk(68%, 49.2%, 0%, 52.2%)
CIE-LABlab(27.52, 12.28, -36.94)
CIE-LCHlch(27.52, 38.92, 288.38°)
OKLaboklab(37.95% -0.0078 -0.1057)
OKLCHoklch(37.95% 0.106 265.8)
XYZxyz(6.0710, 5.2812, 19.1080)
Luminance0.0528 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273E7A #7A6327
analogous
#27687A #273E7A #39277A
triadic
#273E7A #7A273E #3E7A27
tetradic
#273E7A #7A2768 #7A6327 #277A39
square
#273E7A #7A2768 #7A6327 #277A39
split-complementary
#273E7A #7A3927 #687A27
monochromatic
#090F1D #18264C #273E7A #3656A8 #5374C8

Accessibility & contrast

On white

10.21
#273E7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #273E7A
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273E7A#FFFFFF#000000##FFFFFF
##273E7A1.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #273e7a;
/* rgb */ color: rgb(39, 62, 122);
/* oklch */ color: oklch(38.0% 0.106 265.8);
Tailwind
colors: {
  custom: {
    50: '#6b72a1',
    500: '#273e7a',
    950: '#000000',
  },
}
SCSS
$custom: #273e7a;
$custom-light: #6b72a1;
$custom-dark: #000000;
JSON
{
  "hex": "#273e7a",
  "rgb": {
    "r": 39,
    "g": 62,
    "b": 122
  },
  "hsl": {
    "h": 223.373,
    "s": 51.553,
    "l": 31.569
  },
  "oklch": {
    "l": 0.3795,
    "c": 0.10601,
    "h": 265.8
  },
  "luminance": 0.05282
}

Semantic roles & 50–950 ramp

primary
#273E7A
secondary
#AC9351
accent
#B44DDB
background
#F6F6F9
surface
#ECECF2
border
#C7C7CC
text
#07080F
muted
#7A7B7E

Preview Lab

Preview with #273E7A

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

Preview Lab → · Contrast checker → · Palette generator →

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