#273D9C#273D9C

#273D9C is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.5% C 0.157 H 268.4°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#273D9C
RGBrgb(39, 61, 156)
HSLhsl(229, 60%, 38%)
HSVhsv(229, 75%, 61%)
CMYKcmyk(75%, 60.9%, 0%, 38.8%)
CIE-LABlab(29.83, 26.08, -54.21)
CIE-LCHlch(29.83, 60.16, 295.69°)
OKLaboklab(40.51% -0.0043 -0.1565)
OKLCHoklch(40.51% 0.157 268.4)
XYZxyz(8.5041, 6.1682, 32.1884)
Luminance0.0617 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273D9C #9C8627
analogous
#27779C #273D9C #4B279C
triadic
#273D9C #9C273D #3D9C27
tetradic
#273D9C #9C2777 #9C8627 #279C4B
square
#273D9C #9C2777 #9C8627 #279C4B
split-complementary
#273D9C #9C4B27 #779C27
monochromatic
#0F173A #1B2A6B #273D9C #3451CC #657BD8

Accessibility & contrast

On white

9.40
#273D9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#273D9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273D9C
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273D9C#FFFFFF#000000##FFFFFF
##273D9C1.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9F
Deuteranopia (green-blind)
#00419A
Tritanopia (blue-blind)
#005566
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #273d9c;
/* rgb */ color: rgb(39, 61, 156);
/* oklch */ color: oklch(40.5% 0.157 268.4);
Tailwind
colors: {
  custom: {
    50: '#7372ba',
    500: '#273d9c',
    950: '#000000',
  },
}
SCSS
$custom: #273d9c;
$custom-light: #7372ba;
$custom-dark: #000000;
JSON
{
  "hex": "#273d9c",
  "rgb": {
    "r": 39,
    "g": 61,
    "b": 156
  },
  "hsl": {
    "h": 228.718,
    "s": 60,
    "l": 38.235
  },
  "oklch": {
    "l": 0.40512,
    "c": 0.15659,
    "h": 268.4
  },
  "luminance": 0.06169
}

Semantic roles & 50–950 ramp

primary
#273D9C
secondary
#BEAD61
accent
#C545E3
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #273D9C

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

Preview Lab → · Contrast checker → · Palette generator →

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