#273A66#273A66

#273A66 is a dark, moderate blue. Relative luminance 0.044; OKLCH L 35.6% C 0.080 H 265.0°. Best body text is #FFFFFF at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#273A66
RGBrgb(39, 58, 102)
HSLhsl(222, 45%, 28%)
HSVhsv(222, 62%, 40%)
CMYKcmyk(61.8%, 43.1%, 0%, 60%)
CIE-LABlab(25.00, 7.40, -28.22)
CIE-LCHlch(25.00, 29.17, 284.69°)
OKLaboklab(35.6% -0.007 -0.0802)
OKLCHoklch(35.6% 0.08 265)
XYZxyz(4.7472, 4.4164, 13.1701)
Luminance0.0442 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273A66 #665327
analogous
#275966 #273A66 #342766
triadic
#273A66 #66273A #3A6627
tetradic
#273A66 #662759 #665327 #276634
square
#273A66 #662759 #665327 #276634
split-complementary
#273A66 #663427 #596627
monochromatic
#080D16 #16213A #273A66 #385392 #4D6EBB

Accessibility & contrast

On white

11.15
#273A66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#273A66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273A66
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273A66#FFFFFF#000000##FFFFFF
##273A661.0011.151.8811.15
#FFFFFF11.151.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#273E68
Deuteranopia (green-blind)
#1F3965
Tritanopia (blue-blind)
#00444B
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #273a66;
/* rgb */ color: rgb(39, 58, 102);
/* oklch */ color: oklch(35.6% 0.080 265.0);
Tailwind
colors: {
  custom: {
    50: '#676f92',
    500: '#273a66',
    950: '#000000',
  },
}
SCSS
$custom: #273a66;
$custom-light: #676f92;
$custom-dark: #000000;
JSON
{
  "hex": "#273a66",
  "rgb": {
    "r": 39,
    "g": 58,
    "b": 102
  },
  "hsl": {
    "h": 221.905,
    "s": 44.681,
    "l": 27.647
  },
  "oklch": {
    "l": 0.35597,
    "c": 0.08047,
    "h": 265
  },
  "luminance": 0.04417
}

Semantic roles & 50–950 ramp

primary
#273A66
secondary
#998350
accent
#AD53D4
background
#F6F6F9
surface
#EBECF1
border
#C6C7CB
text
#06070D
muted
#7A7A7E

Preview Lab

Preview with #273A66

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

Preview Lab → · Contrast checker → · Palette generator →

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