#273C8E#273C8E

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

Color values

HEX#273C8E
RGBrgb(39, 60, 142)
HSLhsl(228, 57%, 35%)
HSVhsv(228, 73%, 56%)
CMYKcmyk(72.5%, 57.7%, 0%, 44.3%)
CIE-LABlab(28.42, 21.39, -47.94)
CIE-LCHlch(28.42, 52.50, 294.05°)
OKLaboklab(39.1% -0.0039 -0.1381)
OKLCHoklch(39.1% 0.138 268.4)
XYZxyz(7.3334, 5.6153, 26.2833)
Luminance0.0562 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273C8E #8E7927
analogous
#276F8E #273C8E #45278E
triadic
#273C8E #8E273C #3C8E27
tetradic
#273C8E #8E276F #8E7927 #278E45
square
#273C8E #8E276F #8E7927 #278E45
split-complementary
#273C8E #8E4527 #6F8E27
monochromatic
#0D132E #1A285E #273C8E #3450BE #5D75D2

Accessibility & contrast

On white

9.89
#273C8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#273C8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273C8E
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273C8E#FFFFFF#000000##FFFFFF
##273C8E1.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #273c8e;
/* rgb */ color: rgb(39, 60, 142);
/* oklch */ color: oklch(39.1% 0.138 268.4);
Tailwind
colors: {
  custom: {
    50: '#7071b0',
    500: '#273c8e',
    950: '#000000',
  },
}
SCSS
$custom: #273c8e;
$custom-light: #7071b0;
$custom-dark: #000000;
JSON
{
  "hex": "#273c8e",
  "rgb": {
    "r": 39,
    "g": 60,
    "b": 142
  },
  "hsl": {
    "h": 227.767,
    "s": 56.906,
    "l": 35.49
  },
  "oklch": {
    "l": 0.39099,
    "c": 0.13819,
    "h": 268.4
  },
  "luminance": 0.05616
}

Semantic roles & 50–950 ramp

primary
#273C8E
secondary
#B8A459
accent
#C148E0
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #273C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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