#273E7D#273E7D

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

Color values

HEX#273E7D
RGBrgb(39, 62, 125)
HSLhsl(224, 52%, 32%)
HSVhsv(224, 69%, 49%)
CMYKcmyk(68.8%, 50.4%, 0%, 51%)
CIE-LABlab(27.73, 13.44, -38.49)
CIE-LCHlch(27.73, 40.77, 289.24°)
OKLaboklab(38.17% -0.0073 -0.1103)
OKLCHoklch(38.17% 0.111 266.2)
XYZxyz(6.2597, 5.3567, 20.1021)
Luminance0.0536 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273E7D #7D6627
analogous
#27697D #273E7D #3B277D
triadic
#273E7D #7D273E #3E7D27
tetradic
#273E7D #7D2769 #7D6627 #277D3B
square
#273E7D #7D2769 #7D6627 #277D3B
split-complementary
#273E7D #7D3B27 #697D27
monochromatic
#0A1020 #18274E #273E7D #3655AC #5574CA

Accessibility & contrast

On white

10.14
#273E7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#273E7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273E7D
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273E7D#FFFFFF#000000##FFFFFF
##273E7D1.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C467F
Deuteranopia (green-blind)
#073E7C
Tritanopia (blue-blind)
#004D57
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #273e7d;
/* rgb */ color: rgb(39, 62, 125);
/* oklch */ color: oklch(38.2% 0.111 266.2);
Tailwind
colors: {
  custom: {
    50: '#6c72a3',
    500: '#273e7d',
    950: '#000000',
  },
}
SCSS
$custom: #273e7d;
$custom-light: #6c72a3;
$custom-dark: #000000;
JSON
{
  "hex": "#273e7d",
  "rgb": {
    "r": 39,
    "g": 62,
    "b": 125
  },
  "hsl": {
    "h": 223.953,
    "s": 52.439,
    "l": 32.157
  },
  "oklch": {
    "l": 0.38174,
    "c": 0.11053,
    "h": 266.2
  },
  "luminance": 0.05357
}

Semantic roles & 50–950 ramp

primary
#273E7D
secondary
#AF9651
accent
#B54CDC
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #273E7D

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

Preview Lab → · Contrast checker → · Palette generator →

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