#273B8F#273B8F

#273B8F is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.0% C 0.141 H 268.8°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#273B8F
RGBrgb(39, 59, 143)
HSLhsl(228, 57%, 36%)
HSVhsv(228, 73%, 56%)
CMYKcmyk(72.7%, 58.7%, 0%, 43.9%)
CIE-LABlab(28.23, 22.46, -48.88)
CIE-LCHlch(28.23, 53.79, 294.68°)
OKLaboklab(38.98% -0.003 -0.1409)
OKLCHoklch(38.98% 0.141 268.8)
XYZxyz(7.3569, 5.5417, 26.6632)
Luminance0.0554 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273B8F #8F7B27
analogous
#276F8F #273B8F #47278F
triadic
#273B8F #8F273B #3B8F27
tetradic
#273B8F #8F276F #8F7B27 #278F47
square
#273B8F #8F276F #8F7B27 #278F47
split-complementary
#273B8F #8F4727 #6F8F27
monochromatic
#0D132F #1A275F #273B8F #344FBF #5D74D3

Accessibility & contrast

On white

9.96
#273B8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#273B8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273B8F
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273B8F#FFFFFF#000000##FFFFFF
##273B8F1.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #273b8f;
/* rgb */ color: rgb(39, 59, 143);
/* oklch */ color: oklch(39.0% 0.141 268.8);
Tailwind
colors: {
  custom: {
    50: '#7070b0',
    500: '#273b8f',
    950: '#000000',
  },
}
SCSS
$custom: #273b8f;
$custom-light: #7070b0;
$custom-dark: #000000;
JSON
{
  "hex": "#273b8f",
  "rgb": {
    "r": 39,
    "g": 59,
    "b": 143
  },
  "hsl": {
    "h": 228.462,
    "s": 57.143,
    "l": 35.686
  },
  "oklch": {
    "l": 0.38978,
    "c": 0.14091,
    "h": 268.8
  },
  "luminance": 0.05542
}

Semantic roles & 50–950 ramp

primary
#273B8F
secondary
#B8A65A
accent
#C347E0
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#080711
muted
#7B7A80

Preview Lab

Preview with #273B8F

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

Preview Lab → · Contrast checker → · Palette generator →

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