#273261#273261

#273261 is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.4% C 0.084 H 271.3°. Best body text is #FFFFFF at 12.24:1 contrast (WCAG AA passes).

Color values

HEX#273261
RGBrgb(39, 50, 97)
HSLhsl(229, 43%, 27%)
HSVhsv(229, 60%, 38%)
CMYKcmyk(59.8%, 48.5%, 0%, 62%)
CIE-LABlab(22.21, 11.12, -29.41)
CIE-LCHlch(22.21, 31.44, 290.72°)
OKLaboklab(33.35% 0.0019 -0.0838)
OKLCHoklch(33.35% 0.084 271.3)
XYZxyz(4.1343, 3.5753, 11.7792)
Luminance0.0358 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273261 #615627
analogous
#274F61 #273261 #392761
triadic
#273261 #612732 #326127
tetradic
#273261 #61274F #615627 #276139
square
#273261 #61274F #615627 #276139
split-complementary
#273261 #613927 #4F6127
monochromatic
#090B16 #151C35 #273261 #39498D #4C60B7

Accessibility & contrast

On white

12.24
#273261 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#273261 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273261
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273261#FFFFFF#000000##FFFFFF
##2732611.0012.241.7212.24
#FFFFFF12.241.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3863
Deuteranopia (green-blind)
#153360
Tritanopia (blue-blind)
#053C44
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #273261;
/* rgb */ color: rgb(39, 50, 97);
/* oklch */ color: oklch(33.4% 0.084 271.3);
Tailwind
colors: {
  custom: {
    50: '#66698e',
    500: '#273261',
    950: '#000000',
  },
}
SCSS
$custom: #273261;
$custom-light: #66698e;
$custom-dark: #000000;
JSON
{
  "hex": "#273261",
  "rgb": {
    "r": 39,
    "g": 50,
    "b": 97
  },
  "hsl": {
    "h": 228.621,
    "s": 42.647,
    "l": 26.667
  },
  "oklch": {
    "l": 0.33354,
    "c": 0.08378,
    "h": 271.3
  },
  "luminance": 0.03576
}

Semantic roles & 50–950 ramp

primary
#273261
secondary
#948750
accent
#BB55D2
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06060C
muted
#7A7A7D

Preview Lab

Preview with #273261

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

Preview Lab → · Contrast checker → · Palette generator →

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