#273A7F#273A7F

#273A7F is a dark, moderate blue. Relative luminance 0.050; OKLCH L 37.4% C 0.119 H 268.5°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#273A7F
RGBrgb(39, 58, 127)
HSLhsl(227, 53%, 33%)
HSVhsv(227, 69%, 50%)
CMYKcmyk(69.3%, 54.3%, 0%, 50.2%)
CIE-LABlab(26.70, 16.98, -41.40)
CIE-LCHlch(26.70, 44.74, 292.30°)
OKLaboklab(37.44% -0.0031 -0.1189)
OKLCHoklch(37.44% 0.119 268.5)
XYZxyz(6.1792, 4.9892, 20.7119)
Luminance0.0499 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273A7F #7F6C27
analogous
#27667F #273A7F #40277F
triadic
#273A7F #7F273A #3A7F27
tetradic
#273A7F #7F2766 #7F6C27 #277F40
square
#273A7F #7F2766 #7F6C27 #277F40
split-complementary
#273A7F #7F4027 #667F27
monochromatic
#0A0F21 #192550 #273A7F #354FAE #556FCB

Accessibility & contrast

On white

10.51
#273A7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#273A7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273A7F
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273A7F#FFFFFF#000000##FFFFFF
##273A7F1.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D4381
Deuteranopia (green-blind)
#003B7E
Tritanopia (blue-blind)
#004A56
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #273a7f;
/* rgb */ color: rgb(39, 58, 127);
/* oklch */ color: oklch(37.4% 0.119 268.5);
Tailwind
colors: {
  custom: {
    50: '#6c6fa5',
    500: '#273a7f',
    950: '#000000',
  },
}
SCSS
$custom: #273a7f;
$custom-light: #6c6fa5;
$custom-dark: #000000;
JSON
{
  "hex": "#273a7f",
  "rgb": {
    "r": 39,
    "g": 58,
    "b": 127
  },
  "hsl": {
    "h": 227.045,
    "s": 53.012,
    "l": 32.549
  },
  "oklch": {
    "l": 0.37442,
    "c": 0.11894,
    "h": 268.5
  },
  "luminance": 0.0499
}

Semantic roles & 50–950 ramp

primary
#273A7F
secondary
#B09B52
accent
#BD4BDC
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#08070F
muted
#7A7A7F

Preview Lab

Preview with #273A7F

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

Preview Lab → · Contrast checker → · Palette generator →

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