#273D9D#273D9D

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

Color values

HEX#273D9D
RGBrgb(39, 61, 157)
HSLhsl(229, 60%, 38%)
HSVhsv(229, 75%, 62%)
CMYKcmyk(75.2%, 61.1%, 0%, 38.4%)
CIE-LABlab(29.92, 26.46, -54.68)
CIE-LCHlch(29.92, 60.74, 295.82°)
OKLaboklab(40.6% -0.0043 -0.1579)
OKLCHoklch(40.6% 0.158 268.4)
XYZxyz(8.5891, 6.2022, 32.6362)
Luminance0.0620 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273D9D #9D8727
analogous
#27789D #273D9D #4C279D
triadic
#273D9D #9D273D #3D9D27
tetradic
#273D9D #9D2778 #9D8727 #279D4C
square
#273D9D #9D2778 #9D8727 #279D4C
split-complementary
#273D9D #9D4C27 #789D27
monochromatic
#0F173B #1B2A6C #273D9D #3551CD #667BD9

Accessibility & contrast

On white

9.37
#273D9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#273D9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273D9D
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273D9D#FFFFFF#000000##FFFFFF
##273D9D1.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA0
Deuteranopia (green-blind)
#00419B
Tritanopia (blue-blind)
#005567
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #273d9d;
/* rgb */ color: rgb(39, 61, 157);
/* oklch */ color: oklch(40.6% 0.158 268.4);
Tailwind
colors: {
  custom: {
    50: '#7372bb',
    500: '#273d9d',
    950: '#000000',
  },
}
SCSS
$custom: #273d9d;
$custom-light: #7372bb;
$custom-dark: #000000;
JSON
{
  "hex": "#273d9d",
  "rgb": {
    "r": 39,
    "g": 61,
    "b": 157
  },
  "hsl": {
    "h": 228.814,
    "s": 60.204,
    "l": 38.431
  },
  "oklch": {
    "l": 0.406,
    "c": 0.15797,
    "h": 268.4
  },
  "luminance": 0.06203
}

Semantic roles & 50–950 ramp

primary
#273D9D
secondary
#BFAD61
accent
#C644E3
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #273D9D

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

Preview Lab → · Contrast checker → · Palette generator →

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