#273671#273671

#273671 is a dark, moderate blue. Relative luminance 0.043; OKLCH L 35.5% C 0.103 H 269.8°. Best body text is #FFFFFF at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#273671
RGBrgb(39, 54, 113)
HSLhsl(228, 49%, 30%)
HSVhsv(228, 65%, 44%)
CMYKcmyk(65.5%, 52.2%, 0%, 55.7%)
CIE-LABlab(24.52, 14.38, -36.06)
CIE-LCHlch(24.52, 38.82, 291.74°)
OKLaboklab(35.46% -0.0004 -0.1032)
OKLCHoklch(35.46% 0.103 269.8)
XYZxyz(5.1355, 4.2615, 16.1715)
Luminance0.0426 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273671 #716227
analogous
#275B71 #273671 #3D2771
triadic
#273671 #712736 #367127
tetradic
#273671 #71275B #716227 #27713D
square
#273671 #71275B #716227 #27713D
split-complementary
#273671 #713D27 #5B7127
monochromatic
#080B17 #172044 #273671 #374C9E #5067C3

Accessibility & contrast

On white

11.34
#273671 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#273671 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273671
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273671#FFFFFF#000000##FFFFFF
##2736711.0011.341.8511.34
#FFFFFF11.341.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#163E73
Deuteranopia (green-blind)
#053770
Tritanopia (blue-blind)
#00444E
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #273671;
/* rgb */ color: rgb(39, 54, 113);
/* oklch */ color: oklch(35.5% 0.103 269.8);
Tailwind
colors: {
  custom: {
    50: '#696c9a',
    500: '#273671',
    950: '#000000',
  },
}
SCSS
$custom: #273671;
$custom-light: #696c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#273671",
  "rgb": {
    "r": 39,
    "g": 54,
    "b": 113
  },
  "hsl": {
    "h": 227.838,
    "s": 48.684,
    "l": 29.804
  },
  "oklch": {
    "l": 0.35461,
    "c": 0.10325,
    "h": 269.8
  },
  "luminance": 0.04262
}

Semantic roles & 50–950 ramp

primary
#273671
secondary
#A39350
accent
#BD50D8
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #273671

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

Preview Lab → · Contrast checker → · Palette generator →

#273671 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva