#273D7D#273D7D

#273D7D is a dark, moderate blue. Relative luminance 0.052; OKLCH L 37.9% C 0.112 H 266.8°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#273D7D
RGBrgb(39, 61, 125)
HSLhsl(225, 52%, 32%)
HSVhsv(225, 69%, 49%)
CMYKcmyk(68.8%, 51.2%, 0%, 51%)
CIE-LABlab(27.43, 14.13, -38.97)
CIE-LCHlch(27.43, 41.45, 289.93°)
OKLaboklab(37.95% -0.0063 -0.1117)
OKLCHoklch(37.95% 0.112 266.8)
XYZxyz(6.2058, 5.2489, 20.0842)
Luminance0.0525 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273D7D #7D6727
analogous
#27687D #273D7D #3C277D
triadic
#273D7D #7D273D #3D7D27
tetradic
#273D7D #7D2768 #7D6727 #277D3C
square
#273D7D #7D2768 #7D6727 #277D3C
split-complementary
#273D7D #7D3C27 #687D27
monochromatic
#0A0F20 #18264E #273D7D #3654AC #5573CA

Accessibility & contrast

On white

10.24
#273D7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#273D7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273D7D
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273D7D#FFFFFF#000000##FFFFFF
##273D7D1.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A457F
Deuteranopia (green-blind)
#033D7C
Tritanopia (blue-blind)
#004C57
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #273d7d;
/* rgb */ color: rgb(39, 61, 125);
/* oklch */ color: oklch(37.9% 0.112 266.8);
Tailwind
colors: {
  custom: {
    50: '#6c72a3',
    500: '#273d7d',
    950: '#000000',
  },
}
SCSS
$custom: #273d7d;
$custom-light: #6c72a3;
$custom-dark: #000000;
JSON
{
  "hex": "#273d7d",
  "rgb": {
    "r": 39,
    "g": 61,
    "b": 125
  },
  "hsl": {
    "h": 224.651,
    "s": 52.439,
    "l": 32.157
  },
  "oklch": {
    "l": 0.37949,
    "c": 0.11188,
    "h": 266.8
  },
  "luminance": 0.05249
}

Semantic roles & 50–950 ramp

primary
#273D7D
secondary
#AF9751
accent
#B74CDC
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #273D7D

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

Preview Lab → · Contrast checker → · Palette generator →

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