#273097#273097

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

Color values

HEX#273097
RGBrgb(39, 48, 151)
HSLhsl(235, 59%, 37%)
HSVhsv(235, 74%, 59%)
CMYKcmyk(74.2%, 68.2%, 0%, 40.8%)
CIE-LABlab(26.09, 32.80, -57.28)
CIE-LCHlch(26.09, 66.00, 299.80°)
OKLaboklab(37.62% 0.0048 -0.1656)
OKLCHoklch(37.62% 0.166 271.6)
XYZxyz(7.4777, 4.7788, 29.8005)
Luminance0.0478 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273097 #978E27
analogous
#276897 #273097 #562797
triadic
#273097 #972730 #309727
tetradic
#273097 #972768 #978E27 #279756
square
#273097 #972768 #978E27 #279756
split-complementary
#273097 #975627 #689727
monochromatic
#0E1136 #1A2166 #273097 #343FC8 #626BD6

Accessibility & contrast

On white

10.74
#273097 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #273097
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273097#FFFFFF#000000##FFFFFF
##2730971.0010.741.9610.74
#FFFFFF10.741.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439A
Deuteranopia (green-blind)
#003995
Tritanopia (blue-blind)
#004C5F
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #273097;
/* rgb */ color: rgb(39, 48, 151);
/* oklch */ color: oklch(37.6% 0.166 271.6);
Tailwind
colors: {
  custom: {
    50: '#7368b7',
    500: '#273097',
    950: '#000000',
  },
}
SCSS
$custom: #273097;
$custom-light: #7368b7;
$custom-dark: #000000;
JSON
{
  "hex": "#273097",
  "rgb": {
    "r": 39,
    "g": 48,
    "b": 151
  },
  "hsl": {
    "h": 235.179,
    "s": 58.947,
    "l": 37.255
  },
  "oklch": {
    "l": 0.37624,
    "c": 0.16569,
    "h": 271.6
  },
  "luminance": 0.0478
}

Semantic roles & 50–950 ramp

primary
#273097
secondary
#BCB45E
accent
#D646E2
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #273097

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

Preview Lab → · Contrast checker → · Palette generator →

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