#273D9A#273D9A

#273D9A is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.3% C 0.154 H 268.4°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#273D9A
RGBrgb(39, 61, 154)
HSLhsl(229, 60%, 38%)
HSVhsv(229, 75%, 60%)
CMYKcmyk(74.7%, 60.4%, 0%, 39.6%)
CIE-LABlab(29.67, 25.31, -53.27)
CIE-LCHlch(29.67, 58.98, 295.42°)
OKLaboklab(40.34% -0.0044 -0.1538)
OKLCHoklch(40.34% 0.154 268.4)
XYZxyz(8.3362, 6.1010, 31.3039)
Luminance0.0610 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273D9A #9A8427
analogous
#27769A #273D9A #4B279A
triadic
#273D9A #9A273D #3D9A27
tetradic
#273D9A #9A2776 #9A8427 #279A4B
square
#273D9A #9A2776 #9A8427 #279A4B
split-complementary
#273D9A #9A4B27 #769A27
monochromatic
#0E1638 #1B2A69 #273D9A #3350CB #647AD8

Accessibility & contrast

On white

9.46
#273D9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#273D9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273D9A
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273D9A#FFFFFF#000000##FFFFFF
##273D9A1.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9D
Deuteranopia (green-blind)
#004198
Tritanopia (blue-blind)
#005465
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #273d9a;
/* rgb */ color: rgb(39, 61, 154);
/* oklch */ color: oklch(40.3% 0.154 268.4);
Tailwind
colors: {
  custom: {
    50: '#7272b9',
    500: '#273d9a',
    950: '#000000',
  },
}
SCSS
$custom: #273d9a;
$custom-light: #7272b9;
$custom-dark: #000000;
JSON
{
  "hex": "#273d9a",
  "rgb": {
    "r": 39,
    "g": 61,
    "b": 154
  },
  "hsl": {
    "h": 228.522,
    "s": 59.585,
    "l": 37.843
  },
  "oklch": {
    "l": 0.40335,
    "c": 0.15382,
    "h": 268.4
  },
  "luminance": 0.06102
}

Semantic roles & 50–950 ramp

primary
#273D9A
secondary
#BDAB5F
accent
#C545E3
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #273D9A

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

Preview Lab → · Contrast checker → · Palette generator →

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