#273277#273277

#273277 is a dark, moderate blue. Relative luminance 0.040; OKLCH L 35.1% C 0.118 H 272.0°. Best body text is #FFFFFF at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#273277
RGBrgb(39, 50, 119)
HSLhsl(232, 51%, 31%)
HSVhsv(232, 67%, 47%)
CMYKcmyk(67.2%, 58%, 0%, 53.3%)
CIE-LABlab(23.82, 19.47, -41.02)
CIE-LCHlch(23.82, 45.40, 295.40°)
OKLaboklab(35.08% 0.0042 -0.1179)
OKLCHoklch(35.08% 0.118 272)
XYZxyz(5.3060, 4.0440, 17.9501)
Luminance0.0404 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273277 #776C27
analogous
#275A77 #273277 #442777
triadic
#273277 #772732 #327727
tetradic
#273277 #77275A #776C27 #277744
square
#273277 #77275A #776C27 #277744
split-complementary
#273277 #774427 #5A7727
monochromatic
#090B1B #181F49 #273277 #3645A5 #5262C6

Accessibility & contrast

On white

11.61
#273277 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#273277 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273277
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273277#FFFFFF#000000##FFFFFF
##2732771.0011.611.8111.61
#FFFFFF11.611.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C79
Deuteranopia (green-blind)
#003576
Tritanopia (blue-blind)
#00434F
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #273277;
/* rgb */ color: rgb(39, 50, 119);
/* oklch */ color: oklch(35.1% 0.118 272.0);
Tailwind
colors: {
  custom: {
    50: '#6b699f',
    500: '#273277',
    950: '#000000',
  },
}
SCSS
$custom: #273277;
$custom-light: #6b699f;
$custom-dark: #000000;
JSON
{
  "hex": "#273277",
  "rgb": {
    "r": 39,
    "g": 50,
    "b": 119
  },
  "hsl": {
    "h": 231.75,
    "s": 50.633,
    "l": 30.98
  },
  "oklch": {
    "l": 0.35076,
    "c": 0.11796,
    "h": 272
  },
  "luminance": 0.04044
}

Semantic roles & 50–950 ramp

primary
#273277
secondary
#A99D51
accent
#C74EDA
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #273277

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

Preview Lab → · Contrast checker → · Palette generator →

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