#273A71#273A71

#273A71 is a dark, moderate blue. Relative luminance 0.046; OKLCH L 36.4% C 0.098 H 267.1°. Best body text is #FFFFFF at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#273A71
RGBrgb(39, 58, 113)
HSLhsl(225, 49%, 30%)
HSVhsv(225, 65%, 44%)
CMYKcmyk(65.5%, 48.7%, 0%, 55.7%)
CIE-LABlab(25.71, 11.59, -34.14)
CIE-LCHlch(25.71, 36.05, 288.74°)
OKLaboklab(36.37% -0.0049 -0.0976)
OKLCHoklch(36.37% 0.098 267.1)
XYZxyz(5.3294, 4.6492, 16.2361)
Luminance0.0465 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273A71 #715E27
analogous
#275F71 #273A71 #392771
triadic
#273A71 #71273A #3A7127
tetradic
#273A71 #71275F #715E27 #277139
square
#273A71 #71275F #715E27 #277139
split-complementary
#273A71 #713927 #5F7127
monochromatic
#080C17 #172344 #273A71 #37519E #506DC3

Accessibility & contrast

On white

10.88
#273A71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#273A71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273A71
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273A71#FFFFFF#000000##FFFFFF
##273A711.0010.881.9310.88
#FFFFFF10.881.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4073
Deuteranopia (green-blind)
#123A70
Tritanopia (blue-blind)
#004750
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #273a71;
/* rgb */ color: rgb(39, 58, 113);
/* oklch */ color: oklch(36.4% 0.098 267.1);
Tailwind
colors: {
  custom: {
    50: '#696f9a',
    500: '#273a71',
    950: '#000000',
  },
}
SCSS
$custom: #273a71;
$custom-light: #696f9a;
$custom-dark: #000000;
JSON
{
  "hex": "#273a71",
  "rgb": {
    "r": 39,
    "g": 58,
    "b": 113
  },
  "hsl": {
    "h": 224.595,
    "s": 48.684,
    "l": 29.804
  },
  "oklch": {
    "l": 0.3637,
    "c": 0.09768,
    "h": 267.1
  },
  "luminance": 0.0465
}

Semantic roles & 50–950 ramp

primary
#273A71
secondary
#A38E50
accent
#B550D8
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #273A71

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

Preview Lab → · Contrast checker → · Palette generator →

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