#273F7D#273F7D

#273F7D is a dark, moderate blue. Relative luminance 0.055; OKLCH L 38.4% C 0.109 H 265.6°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#273F7D
RGBrgb(39, 63, 125)
HSLhsl(223, 52%, 32%)
HSVhsv(223, 69%, 49%)
CMYKcmyk(68.8%, 49.6%, 0%, 51%)
CIE-LABlab(28.02, 12.75, -38.01)
CIE-LCHlch(28.02, 40.09, 288.54°)
OKLaboklab(38.4% -0.0084 -0.1089)
OKLCHoklch(38.4% 0.109 265.6)
XYZxyz(6.3146, 5.4664, 20.1204)
Luminance0.0547 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273F7D #7D6527
analogous
#276A7D #273F7D #3A277D
triadic
#273F7D #7D273F #3F7D27
tetradic
#273F7D #7D276A #7D6527 #277D3A
square
#273F7D #7D276A #7D6527 #277D3A
split-complementary
#273F7D #7D3A27 #6A7D27
monochromatic
#0A1020 #18274E #273F7D #3657AC #5575CA

Accessibility & contrast

On white

10.03
#273F7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#273F7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273F7D
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273F7D#FFFFFF#000000##FFFFFF
##273F7D1.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F467F
Deuteranopia (green-blind)
#0B3E7C
Tritanopia (blue-blind)
#004D58
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #273f7d;
/* rgb */ color: rgb(39, 63, 125);
/* oklch */ color: oklch(38.4% 0.109 265.6);
Tailwind
colors: {
  custom: {
    50: '#6c73a3',
    500: '#273f7d',
    950: '#000000',
  },
}
SCSS
$custom: #273f7d;
$custom-light: #6c73a3;
$custom-dark: #000000;
JSON
{
  "hex": "#273f7d",
  "rgb": {
    "r": 39,
    "g": 63,
    "b": 125
  },
  "hsl": {
    "h": 223.256,
    "s": 52.439,
    "l": 32.157
  },
  "oklch": {
    "l": 0.384,
    "c": 0.10919,
    "h": 265.6
  },
  "luminance": 0.05467
}

Semantic roles & 50–950 ramp

primary
#273F7D
secondary
#AF9551
accent
#B44CDC
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #273F7D

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

Preview Lab → · Contrast checker → · Palette generator →

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