#273E8D#273E8D

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

Color values

HEX#273E8D
RGBrgb(39, 62, 141)
HSLhsl(226, 57%, 35%)
HSVhsv(226, 72%, 55%)
CMYKcmyk(72.3%, 56%, 0%, 44.7%)
CIE-LABlab(28.90, 19.64, -46.55)
CIE-LCHlch(28.90, 50.52, 292.87°)
OKLaboklab(39.43% -0.0057 -0.134)
OKLCHoklch(39.43% 0.134 267.6)
XYZxyz(7.3654, 5.7989, 25.9253)
Luminance0.0580 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273E8D #8D7627
analogous
#27718D #273E8D #43278D
triadic
#273E8D #8D273E #3E8D27
tetradic
#273E8D #8D2771 #8D7627 #278D43
square
#273E8D #8D2771 #8D7627 #278D43
split-complementary
#273E8D #8D4327 #718D27
monochromatic
#0C142D #1A295D #273E8D #3453BD #5C77D2

Accessibility & contrast

On white

9.72
#273E8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#273E8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273E8D
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273E8D#FFFFFF#000000##FFFFFF
##273E8D1.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004990
Deuteranopia (green-blind)
#00408B
Tritanopia (blue-blind)
#00515F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #273e8d;
/* rgb */ color: rgb(39, 62, 141);
/* oklch */ color: oklch(39.4% 0.134 267.6);
Tailwind
colors: {
  custom: {
    50: '#6f72af',
    500: '#273e8d',
    950: '#000000',
  },
}
SCSS
$custom: #273e8d;
$custom-light: #6f72af;
$custom-dark: #000000;
JSON
{
  "hex": "#273e8d",
  "rgb": {
    "r": 39,
    "g": 62,
    "b": 141
  },
  "hsl": {
    "h": 226.471,
    "s": 56.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.39435,
    "c": 0.13412,
    "h": 267.6
  },
  "luminance": 0.058
}

Semantic roles & 50–950 ramp

primary
#273E8D
secondary
#B7A259
accent
#BE48E0
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #273E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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