#273193#273193

#273193 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.4% C 0.159 H 271.6°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#273193
RGBrgb(39, 49, 147)
HSLhsl(234, 58%, 36%)
HSVhsv(234, 73%, 58%)
CMYKcmyk(73.5%, 66.7%, 0%, 42.4%)
CIE-LABlab(25.96, 30.68, -55.03)
CIE-LCHlch(25.96, 63.01, 299.14°)
OKLaboklab(37.41% 0.0044 -0.1591)
OKLCHoklch(37.41% 0.159 271.6)
XYZxyz(7.1997, 4.7338, 28.1324)
Luminance0.0474 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273193 #938927
analogous
#276793 #273193 #532793
triadic
#273193 #932731 #319327
tetradic
#273193 #932767 #938927 #279353
square
#273193 #932767 #938927 #279353
split-complementary
#273193 #935327 #679327
monochromatic
#0D1132 #1A2163 #273193 #3441C3 #606BD5

Accessibility & contrast

On white

10.79
#273193 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#273193 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273193
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273193#FFFFFF#000000##FFFFFF
##2731931.0010.791.9510.79
#FFFFFF10.791.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004396
Deuteranopia (green-blind)
#003891
Tritanopia (blue-blind)
#004B5D
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #273193;
/* rgb */ color: rgb(39, 49, 147);
/* oklch */ color: oklch(37.4% 0.159 271.6);
Tailwind
colors: {
  custom: {
    50: '#7269b4',
    500: '#273193',
    950: '#000000',
  },
}
SCSS
$custom: #273193;
$custom-light: #7269b4;
$custom-dark: #000000;
JSON
{
  "hex": "#273193",
  "rgb": {
    "r": 39,
    "g": 49,
    "b": 147
  },
  "hsl": {
    "h": 234.444,
    "s": 58.065,
    "l": 36.471
  },
  "oklch": {
    "l": 0.37413,
    "c": 0.15912,
    "h": 271.6
  },
  "luminance": 0.04735
}

Semantic roles & 50–950 ramp

primary
#273193
secondary
#BAB15C
accent
#D347E1
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #273193

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

Preview Lab → · Contrast checker → · Palette generator →

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