#273175#273175

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

Color values

HEX#273175
RGBrgb(39, 49, 117)
HSLhsl(232, 50%, 31%)
HSVhsv(232, 67%, 46%)
CMYKcmyk(66.7%, 58.1%, 0%, 54.1%)
CIE-LABlab(23.38, 19.41, -40.45)
CIE-LCHlch(23.38, 44.87, 295.63°)
OKLaboklab(34.7% 0.0051 -0.1162)
OKLCHoklch(34.7% 0.116 272.5)
XYZxyz(5.1448, 3.9119, 17.3101)
Luminance0.0391 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273175 #756B27
analogous
#275875 #273175 #442775
triadic
#273175 #752731 #317527
tetradic
#273175 #752758 #756B27 #277544
square
#273175 #752758 #756B27 #277544
split-complementary
#273175 #754427 #587527
monochromatic
#080B19 #181E47 #273175 #3644A3 #5160C5

Accessibility & contrast

On white

11.78
#273175 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#273175 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273175
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273175#FFFFFF#000000##FFFFFF
##2731751.0011.781.7811.78
#FFFFFF11.781.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B77
Deuteranopia (green-blind)
#003474
Tritanopia (blue-blind)
#00414E
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #273175;
/* rgb */ color: rgb(39, 49, 117);
/* oklch */ color: oklch(34.7% 0.116 272.5);
Tailwind
colors: {
  custom: {
    50: '#6b689d',
    500: '#273175',
    950: '#000000',
  },
}
SCSS
$custom: #273175;
$custom-light: #6b689d;
$custom-dark: #000000;
JSON
{
  "hex": "#273175",
  "rgb": {
    "r": 39,
    "g": 49,
    "b": 117
  },
  "hsl": {
    "h": 232.308,
    "s": 50,
    "l": 30.588
  },
  "oklch": {
    "l": 0.34698,
    "c": 0.11636,
    "h": 272.5
  },
  "luminance": 0.03912
}

Semantic roles & 50–950 ramp

primary
#273175
secondary
#A79C51
accent
#C84EDA
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #273175

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

Preview Lab → · Contrast checker → · Palette generator →

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