#273B71#273B71

#273B71 is a dark, moderate blue. Relative luminance 0.048; OKLCH L 36.6% C 0.096 H 266.4°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#273B71
RGBrgb(39, 59, 113)
HSLhsl(224, 49%, 30%)
HSVhsv(224, 65%, 44%)
CMYKcmyk(65.5%, 47.8%, 0%, 55.7%)
CIE-LABlab(26.01, 10.89, -33.66)
CIE-LCHlch(26.01, 35.37, 287.93°)
OKLaboklab(36.6% -0.006 -0.0961)
OKLCHoklch(36.6% 0.096 266.4)
XYZxyz(5.3803, 4.7510, 16.2531)
Luminance0.0475 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273B71 #715D27
analogous
#276071 #273B71 #382771
triadic
#273B71 #71273B #3B7127
tetradic
#273B71 #712760 #715D27 #277138
square
#273B71 #712760 #715D27 #277138
split-complementary
#273B71 #713827 #607127
monochromatic
#080C17 #172344 #273B71 #37539E #506FC3

Accessibility & contrast

On white

10.77
#273B71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#273B71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273B71
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273B71#FFFFFF#000000##FFFFFF
##273B711.0010.771.9510.77
#FFFFFF10.771.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214173
Deuteranopia (green-blind)
#153A70
Tritanopia (blue-blind)
#004750
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #273b71;
/* rgb */ color: rgb(39, 59, 113);
/* oklch */ color: oklch(36.6% 0.096 266.4);
Tailwind
colors: {
  custom: {
    50: '#69709a',
    500: '#273b71',
    950: '#000000',
  },
}
SCSS
$custom: #273b71;
$custom-light: #69709a;
$custom-dark: #000000;
JSON
{
  "hex": "#273b71",
  "rgb": {
    "r": 39,
    "g": 59,
    "b": 113
  },
  "hsl": {
    "h": 223.784,
    "s": 48.684,
    "l": 29.804
  },
  "oklch": {
    "l": 0.36601,
    "c": 0.09631,
    "h": 266.4
  },
  "luminance": 0.04752
}

Semantic roles & 50–950 ramp

primary
#273B71
secondary
#A38D50
accent
#B350D8
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #273B71

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

Preview Lab → · Contrast checker → · Palette generator →

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