#273E5F#273E5F

#273E5F is a dark, moderate blue. Relative luminance 0.047; OKLCH L 36.1% C 0.064 H 257.4°. Best body text is #FFFFFF at 10.82:1 contrast (WCAG AA passes).

Color values

HEX#273E5F
RGBrgb(39, 62, 95)
HSLhsl(215, 42%, 26%)
HSVhsv(215, 59%, 37%)
CMYKcmyk(58.9%, 34.7%, 0%, 62.7%)
CIE-LABlab(25.87, 2.06, -22.32)
CIE-LCHlch(25.87, 22.41, 275.27°)
OKLaboklab(36.14% -0.014 -0.0629)
OKLCHoklch(36.14% 0.064 257.4)
XYZxyz(4.6242, 4.7024, 11.4882)
Luminance0.0470 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273E5F #5F4827
analogous
#275A5F #273E5F #2C275F
triadic
#273E5F #5F273E #3E5F27
tetradic
#273E5F #5F275A #5F4827 #275F2C
square
#273E5F #5F275A #5F4827 #275F2C
split-complementary
#273E5F #5F2C27 #5A5F27
monochromatic
#090E16 #152234 #273E5F #395A8A #4B77B5

Accessibility & contrast

On white

10.82
#273E5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#273E5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273E5F
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273E5F#FFFFFF#000000##FFFFFF
##273E5F1.0010.821.9410.82
#FFFFFF10.821.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314060
Deuteranopia (green-blind)
#2A3B5E
Tritanopia (blue-blind)
#04454A
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #273e5f;
/* rgb */ color: rgb(39, 62, 95);
/* oklch */ color: oklch(36.1% 0.064 257.4);
Tailwind
colors: {
  custom: {
    50: '#66738c',
    500: '#273e5f',
    950: '#000000',
  },
}
SCSS
$custom: #273e5f;
$custom-light: #66738c;
$custom-dark: #000000;
JSON
{
  "hex": "#273e5f",
  "rgb": {
    "r": 39,
    "g": 62,
    "b": 95
  },
  "hsl": {
    "h": 215.357,
    "s": 41.791,
    "l": 26.275
  },
  "oklch": {
    "l": 0.36138,
    "c": 0.06445,
    "h": 257.4
  },
  "luminance": 0.04703
}

Semantic roles & 50–950 ramp

primary
#273E5F
secondary
#927750
accent
#9F56D2
background
#F6F6F8
surface
#EBECF0
border
#C6C7CB
text
#06080C
muted
#7A7B7D

Preview Lab

Preview with #273E5F

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

Preview Lab → · Contrast checker → · Palette generator →

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