#273D9B#273D9B

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

Color values

HEX#273D9B
RGBrgb(39, 61, 155)
HSLhsl(229, 60%, 38%)
HSVhsv(229, 75%, 61%)
CMYKcmyk(74.8%, 60.6%, 0%, 39.2%)
CIE-LABlab(29.75, 25.70, -53.74)
CIE-LCHlch(29.75, 59.57, 295.55°)
OKLaboklab(40.42% -0.0043 -0.1551)
OKLCHoklch(40.42% 0.155 268.4)
XYZxyz(8.4198, 6.1345, 31.7443)
Luminance0.0614 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273D9B #9B8527
analogous
#27779B #273D9B #4B279B
triadic
#273D9B #9B273D #3D9B27
tetradic
#273D9B #9B2777 #9B8527 #279B4B
square
#273D9B #9B2777 #9B8527 #279B4B
split-complementary
#273D9B #9B4B27 #779B27
monochromatic
#0E1739 #1B2A6A #273D9B #3350CC #647AD8

Accessibility & contrast

On white

9.43
#273D9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #273D9B
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273D9B#FFFFFF#000000##FFFFFF
##273D9B1.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9E
Deuteranopia (green-blind)
#004199
Tritanopia (blue-blind)
#005566
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #273d9b;
/* rgb */ color: rgb(39, 61, 155);
/* oklch */ color: oklch(40.4% 0.155 268.4);
Tailwind
colors: {
  custom: {
    50: '#7372b9',
    500: '#273d9b',
    950: '#000000',
  },
}
SCSS
$custom: #273d9b;
$custom-light: #7372b9;
$custom-dark: #000000;
JSON
{
  "hex": "#273d9b",
  "rgb": {
    "r": 39,
    "g": 61,
    "b": 155
  },
  "hsl": {
    "h": 228.621,
    "s": 59.794,
    "l": 38.039
  },
  "oklch": {
    "l": 0.40423,
    "c": 0.1552,
    "h": 268.4
  },
  "luminance": 0.06135
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #273D9B

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

Preview Lab → · Contrast checker → · Palette generator →

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