#273D8F#273D8F

#273D8F is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.4% C 0.138 H 268.1°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#273D8F
RGBrgb(39, 61, 143)
HSLhsl(227, 57%, 36%)
HSVhsv(227, 73%, 56%)
CMYKcmyk(72.7%, 57.3%, 0%, 43.9%)
CIE-LABlab(28.78, 21.09, -47.98)
CIE-LCHlch(28.78, 52.41, 293.73°)
OKLaboklab(39.39% -0.0047 -0.1382)
OKLCHoklch(39.39% 0.138 268.1)
XYZxyz(7.4617, 5.7512, 26.6981)
Luminance0.0575 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273D8F #8F7927
analogous
#27718F #273D8F #45278F
triadic
#273D8F #8F273D #3D8F27
tetradic
#273D8F #8F2771 #8F7927 #278F45
square
#273D8F #8F2771 #8F7927 #278F45
split-complementary
#273D8F #8F4527 #718F27
monochromatic
#0D142F #1A285F #273D8F #3452BF #5D76D3

Accessibility & contrast

On white

9.77
#273D8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#273D8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273D8F
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273D8F#FFFFFF#000000##FFFFFF
##273D8F1.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004992
Deuteranopia (green-blind)
#003F8D
Tritanopia (blue-blind)
#005160
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #273d8f;
/* rgb */ color: rgb(39, 61, 143);
/* oklch */ color: oklch(39.4% 0.138 268.1);
Tailwind
colors: {
  custom: {
    50: '#7072b0',
    500: '#273d8f',
    950: '#000000',
  },
}
SCSS
$custom: #273d8f;
$custom-light: #7072b0;
$custom-dark: #000000;
JSON
{
  "hex": "#273d8f",
  "rgb": {
    "r": 39,
    "g": 61,
    "b": 143
  },
  "hsl": {
    "h": 227.308,
    "s": 57.143,
    "l": 35.686
  },
  "oklch": {
    "l": 0.39391,
    "c": 0.1383,
    "h": 268.1
  },
  "luminance": 0.05752
}

Semantic roles & 50–950 ramp

primary
#273D8F
secondary
#B8A45A
accent
#C047E0
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#080711
muted
#7B7A80

Preview Lab

Preview with #273D8F

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

Preview Lab → · Contrast checker → · Palette generator →

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