#273C8F#273C8F

#273C8F is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.2% C 0.140 H 268.4°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#273C8F
RGBrgb(39, 60, 143)
HSLhsl(228, 57%, 36%)
HSVhsv(228, 73%, 56%)
CMYKcmyk(72.7%, 58%, 0%, 43.9%)
CIE-LABlab(28.50, 21.78, -48.43)
CIE-LCHlch(28.50, 53.10, 294.21°)
OKLaboklab(39.18% -0.0039 -0.1396)
OKLCHoklch(39.18% 0.14 268.4)
XYZxyz(7.4088, 5.6455, 26.6805)
Luminance0.0565 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273C8F #8F7A27
analogous
#27708F #273C8F #46278F
triadic
#273C8F #8F273C #3C8F27
tetradic
#273C8F #8F2770 #8F7A27 #278F46
square
#273C8F #8F2770 #8F7A27 #278F46
split-complementary
#273C8F #8F4627 #708F27
monochromatic
#0D142F #1A285F #273C8F #3450BF #5D75D3

Accessibility & contrast

On white

9.86
#273C8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#273C8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273C8F
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273C8F#FFFFFF#000000##FFFFFF
##273C8F1.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004892
Deuteranopia (green-blind)
#003F8D
Tritanopia (blue-blind)
#00505F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #273c8f;
/* rgb */ color: rgb(39, 60, 143);
/* oklch */ color: oklch(39.2% 0.140 268.4);
Tailwind
colors: {
  custom: {
    50: '#7071b0',
    500: '#273c8f',
    950: '#000000',
  },
}
SCSS
$custom: #273c8f;
$custom-light: #7071b0;
$custom-dark: #000000;
JSON
{
  "hex": "#273c8f",
  "rgb": {
    "r": 39,
    "g": 60,
    "b": 143
  },
  "hsl": {
    "h": 227.885,
    "s": 57.143,
    "l": 35.686
  },
  "oklch": {
    "l": 0.39184,
    "c": 0.13961,
    "h": 268.4
  },
  "luminance": 0.05646
}

Semantic roles & 50–950 ramp

primary
#273C8F
secondary
#B8A55A
accent
#C247E0
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#080711
muted
#7B7A80

Preview Lab

Preview with #273C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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