#273D71#273D71

#273D71 is a dark, moderate blue. Relative luminance 0.050; OKLCH L 37.1% C 0.094 H 264.9°. Best body text is #FFFFFF at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#273D71
RGBrgb(39, 61, 113)
HSLhsl(222, 49%, 30%)
HSVhsv(222, 65%, 44%)
CMYKcmyk(65.5%, 46%, 0%, 55.7%)
CIE-LABlab(26.62, 9.50, -32.68)
CIE-LCHlch(26.62, 34.04, 286.21°)
OKLaboklab(37.07% -0.0083 -0.0932)
OKLCHoklch(37.07% 0.094 264.9)
XYZxyz(5.4851, 4.9606, 16.2880)
Luminance0.0496 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273D71 #715B27
analogous
#276271 #273D71 #362771
triadic
#273D71 #71273D #3D7127
tetradic
#273D71 #712762 #715B27 #277136
square
#273D71 #712762 #715B27 #277136
split-complementary
#273D71 #713627 #627127
monochromatic
#080C17 #172444 #273D71 #37569E #5072C3

Accessibility & contrast

On white

10.54
#273D71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #273D71
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273D71#FFFFFF#000000##FFFFFF
##273D711.0010.541.9910.54
#FFFFFF10.541.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254373
Deuteranopia (green-blind)
#193C70
Tritanopia (blue-blind)
#004951
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #273d71;
/* rgb */ color: rgb(39, 61, 113);
/* oklch */ color: oklch(37.1% 0.094 264.9);
Tailwind
colors: {
  custom: {
    50: '#69729a',
    500: '#273d71',
    950: '#000000',
  },
}
SCSS
$custom: #273d71;
$custom-light: #69729a;
$custom-dark: #000000;
JSON
{
  "hex": "#273d71",
  "rgb": {
    "r": 39,
    "g": 61,
    "b": 113
  },
  "hsl": {
    "h": 222.162,
    "s": 48.684,
    "l": 29.804
  },
  "oklch": {
    "l": 0.37068,
    "c": 0.0936,
    "h": 264.9
  },
  "luminance": 0.04961
}

Semantic roles & 50–950 ramp

primary
#273D71
secondary
#A38B50
accent
#B050D8
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #273D71

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

Preview Lab → · Contrast checker → · Palette generator →

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