#273D7C#273D7C

#273D7C is a dark, moderate blue. Relative luminance 0.052; OKLCH L 37.9% C 0.110 H 266.6°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#273D7C
RGBrgb(39, 61, 124)
HSLhsl(224, 52%, 32%)
HSVhsv(224, 69%, 49%)
CMYKcmyk(68.5%, 50.8%, 0%, 51.4%)
CIE-LABlab(27.36, 13.74, -38.45)
CIE-LCHlch(27.36, 40.83, 289.67°)
OKLaboklab(37.87% -0.0064 -0.1102)
OKLCHoklch(37.87% 0.11 266.6)
XYZxyz(6.1423, 5.2235, 19.7494)
Luminance0.0522 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273D7C #7C6627
analogous
#27687C #273D7C #3C277C
triadic
#273D7C #7C273D #3D7C27
tetradic
#273D7C #7C2768 #7C6627 #277C3C
square
#273D7C #7C2768 #7C6627 #277C3C
split-complementary
#273D7C #7C3C27 #687C27
monochromatic
#0A0F1F #18264D #273D7C #3654AB #5472C9

Accessibility & contrast

On white

10.27
#273D7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#273D7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273D7C
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273D7C#FFFFFF#000000##FFFFFF
##273D7C1.0010.272.0410.27
#FFFFFF10.271.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B457E
Deuteranopia (green-blind)
#053D7B
Tritanopia (blue-blind)
#004C56
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #273d7c;
/* rgb */ color: rgb(39, 61, 124);
/* oklch */ color: oklch(37.9% 0.110 266.6);
Tailwind
colors: {
  custom: {
    50: '#6b72a2',
    500: '#273d7c',
    950: '#000000',
  },
}
SCSS
$custom: #273d7c;
$custom-light: #6b72a2;
$custom-dark: #000000;
JSON
{
  "hex": "#273d7c",
  "rgb": {
    "r": 39,
    "g": 61,
    "b": 124
  },
  "hsl": {
    "h": 224.471,
    "s": 52.147,
    "l": 31.961
  },
  "oklch": {
    "l": 0.37873,
    "c": 0.11037,
    "h": 266.6
  },
  "luminance": 0.05224
}

Semantic roles & 50–950 ramp

primary
#273D7C
secondary
#AE9651
accent
#B64CDC
background
#F6F6FA
surface
#ECECF3
border
#C7C7CD
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #273D7C

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

Preview Lab → · Contrast checker → · Palette generator →

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