#273397#273397

#273397 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.2% C 0.162 H 271.0°. Best body text is #FFFFFF at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#273397
RGBrgb(39, 51, 151)
HSLhsl(234, 59%, 37%)
HSVhsv(234, 74%, 59%)
CMYKcmyk(74.2%, 66.2%, 0%, 40.8%)
CIE-LABlab(26.83, 30.85, -56.07)
CIE-LCHlch(26.83, 64.00, 298.82°)
OKLaboklab(38.16% 0.0028 -0.1621)
OKLCHoklch(38.16% 0.162 271)
XYZxyz(7.6045, 5.0326, 29.8428)
Luminance0.0503 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273397 #978B27
analogous
#276B97 #273397 #532797
triadic
#273397 #972733 #339727
tetradic
#273397 #97276B #978B27 #279753
square
#273397 #97276B #978B27 #279753
split-complementary
#273397 #975327 #6B9727
monochromatic
#0E1236 #1A2366 #273397 #3443C8 #626ED6

Accessibility & contrast

On white

10.47
#273397 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#273397 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273397
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273397#FFFFFF#000000##FFFFFF
##2733971.0010.472.0110.47
#FFFFFF10.471.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459A
Deuteranopia (green-blind)
#003A95
Tritanopia (blue-blind)
#004D60
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #273397;
/* rgb */ color: rgb(39, 51, 151);
/* oklch */ color: oklch(38.2% 0.162 271.0);
Tailwind
colors: {
  custom: {
    50: '#726ab7',
    500: '#273397',
    950: '#000000',
  },
}
SCSS
$custom: #273397;
$custom-light: #726ab7;
$custom-dark: #000000;
JSON
{
  "hex": "#273397",
  "rgb": {
    "r": 39,
    "g": 51,
    "b": 151
  },
  "hsl": {
    "h": 233.571,
    "s": 58.947,
    "l": 37.255
  },
  "oklch": {
    "l": 0.38158,
    "c": 0.16211,
    "h": 271
  },
  "luminance": 0.05033
}

Semantic roles & 50–950 ramp

primary
#273397
secondary
#BCB25E
accent
#D146E2
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #273397

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

Preview Lab → · Contrast checker → · Palette generator →

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