#273A7D#273A7D

#273A7D is a dark, moderate blue. Relative luminance 0.049; OKLCH L 37.3% C 0.116 H 268.4°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#273A7D
RGBrgb(39, 58, 125)
HSLhsl(227, 52%, 32%)
HSVhsv(227, 69%, 49%)
CMYKcmyk(68.8%, 53.6%, 0%, 51%)
CIE-LABlab(26.56, 16.21, -40.38)
CIE-LCHlch(26.56, 43.51, 291.87°)
OKLaboklab(37.28% -0.0033 -0.1159)
OKLCHoklch(37.28% 0.116 268.4)
XYZxyz(6.0502, 4.9375, 20.0323)
Luminance0.0494 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273A7D #7D6A27
analogous
#27657D #273A7D #3F277D
triadic
#273A7D #7D273A #3A7D27
tetradic
#273A7D #7D2765 #7D6A27 #277D3F
square
#273A7D #7D2765 #7D6A27 #277D3F
split-complementary
#273A7D #7D3F27 #657D27
monochromatic
#0A0F20 #18244E #273A7D #3650AC #556ECA

Accessibility & contrast

On white

10.57
#273A7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#273A7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273A7D
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273A7D#FFFFFF#000000##FFFFFF
##273A7D1.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11437F
Deuteranopia (green-blind)
#003B7C
Tritanopia (blue-blind)
#004A55
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #273a7d;
/* rgb */ color: rgb(39, 58, 125);
/* oklch */ color: oklch(37.3% 0.116 268.4);
Tailwind
colors: {
  custom: {
    50: '#6c6fa3',
    500: '#273a7d',
    950: '#000000',
  },
}
SCSS
$custom: #273a7d;
$custom-light: #6c6fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#273a7d",
  "rgb": {
    "r": 39,
    "g": 58,
    "b": 125
  },
  "hsl": {
    "h": 226.744,
    "s": 52.439,
    "l": 32.157
  },
  "oklch": {
    "l": 0.37283,
    "c": 0.11595,
    "h": 268.4
  },
  "luminance": 0.04938
}

Semantic roles & 50–950 ramp

primary
#273A7D
secondary
#AF9A51
accent
#BC4CDC
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #273A7D

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

Preview Lab → · Contrast checker → · Palette generator →

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