#273C7C#273C7C

#273C7C is a dark, moderate blue. Relative luminance 0.051; OKLCH L 37.6% C 0.112 H 267.2°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#273C7C
RGBrgb(39, 60, 124)
HSLhsl(225, 52%, 32%)
HSVhsv(225, 69%, 49%)
CMYKcmyk(68.5%, 51.6%, 0%, 51.4%)
CIE-LABlab(27.07, 14.43, -38.92)
CIE-LCHlch(27.07, 41.51, 290.35°)
OKLaboklab(37.65% -0.0054 -0.1116)
OKLCHoklch(37.65% 0.112 267.2)
XYZxyz(6.0894, 5.1177, 19.7318)
Luminance0.0512 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273C7C #7C6727
analogous
#27677C #273C7C #3C277C
triadic
#273C7C #7C273C #3C7C27
tetradic
#273C7C #7C2767 #7C6727 #277C3C
square
#273C7C #7C2767 #7C6727 #277C3C
split-complementary
#273C7C #7C3C27 #677C27
monochromatic
#0A0F1F #18254D #273C7C #3653AB #5471C9

Accessibility & contrast

On white

10.38
#273C7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#273C7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273C7C
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273C7C#FFFFFF#000000##FFFFFF
##273C7C1.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18447E
Deuteranopia (green-blind)
#013C7B
Tritanopia (blue-blind)
#004B56
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #273c7c;
/* rgb */ color: rgb(39, 60, 124);
/* oklch */ color: oklch(37.6% 0.112 267.2);
Tailwind
colors: {
  custom: {
    50: '#6b71a2',
    500: '#273c7c',
    950: '#000000',
  },
}
SCSS
$custom: #273c7c;
$custom-light: #6b71a2;
$custom-dark: #000000;
JSON
{
  "hex": "#273c7c",
  "rgb": {
    "r": 39,
    "g": 60,
    "b": 124
  },
  "hsl": {
    "h": 225.176,
    "s": 52.147,
    "l": 31.961
  },
  "oklch": {
    "l": 0.37648,
    "c": 0.11173,
    "h": 267.2
  },
  "luminance": 0.05118
}

Semantic roles & 50–950 ramp

primary
#273C7C
secondary
#AE9751
accent
#B84CDC
background
#F6F6FA
surface
#ECECF3
border
#C7C7CD
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #273C7C

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

Preview Lab → · Contrast checker → · Palette generator →

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