#273272#273272

#273272 is a dark, moderate blue. Relative luminance 0.039; OKLCH L 34.7% C 0.110 H 272.0°. Best body text is #FFFFFF at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#273272
RGBrgb(39, 50, 114)
HSLhsl(231, 49%, 30%)
HSVhsv(231, 66%, 45%)
CMYKcmyk(65.8%, 56.1%, 0%, 55.3%)
CIE-LABlab(23.43, 17.57, -38.45)
CIE-LCHlch(23.43, 42.28, 294.55°)
OKLaboklab(34.66% 0.0039 -0.1104)
OKLCHoklch(34.66% 0.11 272)
XYZxyz(5.0136, 3.9270, 16.4101)
Luminance0.0393 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273272 #726727
analogous
#275872 #273272 #412772
triadic
#273272 #722732 #327227
tetradic
#273272 #722758 #726727 #277241
square
#273272 #722758 #726727 #277241
split-complementary
#273272 #724127 #587227
monochromatic
#080A17 #171E44 #273272 #3746A0 #5061C3

Accessibility & contrast

On white

11.76
#273272 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#273272 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273272
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273272#FFFFFF#000000##FFFFFF
##2732721.0011.761.7911.76
#FFFFFF11.761.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#073B74
Deuteranopia (green-blind)
#003571
Tritanopia (blue-blind)
#00414D
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #273272;
/* rgb */ color: rgb(39, 50, 114);
/* oklch */ color: oklch(34.7% 0.110 272.0);
Tailwind
colors: {
  custom: {
    50: '#6a699b',
    500: '#273272',
    950: '#000000',
  },
}
SCSS
$custom: #273272;
$custom-light: #6a699b;
$custom-dark: #000000;
JSON
{
  "hex": "#273272",
  "rgb": {
    "r": 39,
    "g": 50,
    "b": 114
  },
  "hsl": {
    "h": 231.2,
    "s": 49.02,
    "l": 30
  },
  "oklch": {
    "l": 0.34662,
    "c": 0.11043,
    "h": 272
  },
  "luminance": 0.03927
}

Semantic roles & 50–950 ramp

primary
#273272
secondary
#A49850
accent
#C44FD9
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #273272

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

Preview Lab → · Contrast checker → · Palette generator →

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