#273170#273170

#273170 is a dark, moderate blue. Relative luminance 0.038; OKLCH L 34.3% C 0.109 H 272.6°. Best body text is #FFFFFF at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#273170
RGBrgb(39, 49, 112)
HSLhsl(232, 48%, 30%)
HSVhsv(232, 65%, 44%)
CMYKcmyk(65.2%, 56.3%, 0%, 56.1%)
CIE-LABlab(22.99, 17.51, -37.88)
CIE-LCHlch(22.99, 41.73, 294.80°)
OKLaboklab(34.28% 0.0049 -0.1087)
OKLCHoklch(34.28% 0.109 272.6)
XYZxyz(4.8587, 3.7974, 15.8030)
Luminance0.0380 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273170 #706627
analogous
#275670 #273170 #422770
triadic
#273170 #702731 #317027
tetradic
#273170 #702756 #706627 #277042
square
#273170 #702756 #706627 #277042
split-complementary
#273170 #704227 #567027
monochromatic
#080A17 #171D43 #273170 #37459D #505FC2

Accessibility & contrast

On white

11.93
#273170 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#273170 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273170
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273170#FFFFFF#000000##FFFFFF
##2731701.0011.931.7611.93
#FFFFFF11.931.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#073A72
Deuteranopia (green-blind)
#00346F
Tritanopia (blue-blind)
#00404B
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #273170;
/* rgb */ color: rgb(39, 49, 112);
/* oklch */ color: oklch(34.3% 0.109 272.6);
Tailwind
colors: {
  custom: {
    50: '#6a689a',
    500: '#273170',
    950: '#000000',
  },
}
SCSS
$custom: #273170;
$custom-light: #6a689a;
$custom-dark: #000000;
JSON
{
  "hex": "#273170",
  "rgb": {
    "r": 39,
    "g": 49,
    "b": 112
  },
  "hsl": {
    "h": 231.781,
    "s": 48.344,
    "l": 29.608
  },
  "oklch": {
    "l": 0.34284,
    "c": 0.10879,
    "h": 272.6
  },
  "luminance": 0.03798
}

Semantic roles & 50–950 ramp

primary
#273170
secondary
#A29750
accent
#C550D8
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #273170

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

Preview Lab → · Contrast checker → · Palette generator →

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