#273195#273195

#273195 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.6% C 0.162 H 271.5°. Best body text is #FFFFFF at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#273195
RGBrgb(39, 49, 149)
HSLhsl(235, 59%, 37%)
HSVhsv(235, 74%, 58%)
CMYKcmyk(73.8%, 67.1%, 0%, 41.6%)
CIE-LABlab(26.15, 31.42, -55.96)
CIE-LCHlch(26.15, 64.18, 299.31°)
OKLaboklab(37.61% 0.0043 -0.1618)
OKLCHoklch(37.61% 0.162 271.5)
XYZxyz(7.3580, 4.7971, 28.9661)
Luminance0.0480 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273195 #958B27
analogous
#276895 #273195 #542795
triadic
#273195 #952731 #319527
tetradic
#273195 #952768 #958B27 #279554
square
#273195 #952768 #958B27 #279554
split-complementary
#273195 #955427 #689527
monochromatic
#0E1134 #1A2164 #273195 #3441C6 #616BD6

Accessibility & contrast

On white

10.72
#273195 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#273195 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273195
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273195#FFFFFF#000000##FFFFFF
##2731951.0010.721.9610.72
#FFFFFF10.721.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004398
Deuteranopia (green-blind)
#003993
Tritanopia (blue-blind)
#004C5E
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #273195;
/* rgb */ color: rgb(39, 49, 149);
/* oklch */ color: oklch(37.6% 0.162 271.5);
Tailwind
colors: {
  custom: {
    50: '#7269b5',
    500: '#273195',
    950: '#000000',
  },
}
SCSS
$custom: #273195;
$custom-light: #7269b5;
$custom-dark: #000000;
JSON
{
  "hex": "#273195",
  "rgb": {
    "r": 39,
    "g": 49,
    "b": 149
  },
  "hsl": {
    "h": 234.545,
    "s": 58.511,
    "l": 36.863
  },
  "oklch": {
    "l": 0.37606,
    "c": 0.16182,
    "h": 271.5
  },
  "luminance": 0.04798
}

Semantic roles & 50–950 ramp

primary
#273195
secondary
#BBB25D
accent
#D446E2
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #273195

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

Preview Lab → · Contrast checker → · Palette generator →

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