#273C71#273C71

#273C71 is a dark, moderate blue. Relative luminance 0.049; OKLCH L 36.8% C 0.095 H 265.7°. Best body text is #FFFFFF at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#273C71
RGBrgb(39, 60, 113)
HSLhsl(223, 49%, 30%)
HSVhsv(223, 65%, 44%)
CMYKcmyk(65.5%, 46.9%, 0%, 55.7%)
CIE-LABlab(26.32, 10.20, -33.17)
CIE-LCHlch(26.32, 34.70, 287.09°)
OKLaboklab(36.83% -0.0071 -0.0947)
OKLCHoklch(36.83% 0.095 265.7)
XYZxyz(5.4322, 4.8548, 16.2704)
Luminance0.0486 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273C71 #715C27
analogous
#276171 #273C71 #372771
triadic
#273C71 #71273C #3C7127
tetradic
#273C71 #712761 #715C27 #277137
square
#273C71 #712761 #715C27 #277137
split-complementary
#273C71 #713727 #617127
monochromatic
#080C17 #172444 #273C71 #37549E #5070C3

Accessibility & contrast

On white

10.65
#273C71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#273C71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273C71
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273C71#FFFFFF#000000##FFFFFF
##273C711.0010.651.9710.65
#FFFFFF10.651.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234273
Deuteranopia (green-blind)
#173B70
Tritanopia (blue-blind)
#004851
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #273c71;
/* rgb */ color: rgb(39, 60, 113);
/* oklch */ color: oklch(36.8% 0.095 265.7);
Tailwind
colors: {
  custom: {
    50: '#69719a',
    500: '#273c71',
    950: '#000000',
  },
}
SCSS
$custom: #273c71;
$custom-light: #69719a;
$custom-dark: #000000;
JSON
{
  "hex": "#273c71",
  "rgb": {
    "r": 39,
    "g": 60,
    "b": 113
  },
  "hsl": {
    "h": 222.973,
    "s": 48.684,
    "l": 29.804
  },
  "oklch": {
    "l": 0.36834,
    "c": 0.09495,
    "h": 265.7
  },
  "luminance": 0.04855
}

Semantic roles & 50–950 ramp

primary
#273C71
secondary
#A38C50
accent
#B150D8
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #273C71

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

Preview Lab → · Contrast checker → · Palette generator →

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