#273396#273396

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

Color values

HEX#273396
RGBrgb(39, 51, 150)
HSLhsl(234, 59%, 37%)
HSVhsv(234, 74%, 59%)
CMYKcmyk(74%, 66%, 0%, 41.2%)
CIE-LABlab(26.74, 30.48, -55.61)
CIE-LCHlch(26.74, 63.42, 298.73°)
OKLaboklab(38.06% 0.0029 -0.1607)
OKLCHoklch(38.06% 0.161 271)
XYZxyz(7.5237, 5.0002, 29.4169)
Luminance0.0500 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273396 #968A27
analogous
#276A96 #273396 #532796
triadic
#273396 #962733 #339627
tetradic
#273396 #96276A #968A27 #279653
square
#273396 #96276A #968A27 #279653
split-complementary
#273396 #965327 #6A9627
monochromatic
#0E1235 #1A2265 #273396 #3444C7 #616ED6

Accessibility & contrast

On white

10.50
#273396 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#273396 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273396
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273396#FFFFFF#000000##FFFFFF
##2733961.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004499
Deuteranopia (green-blind)
#003A94
Tritanopia (blue-blind)
#004D5F
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #273396;
/* rgb */ color: rgb(39, 51, 150);
/* oklch */ color: oklch(38.1% 0.161 271.0);
Tailwind
colors: {
  custom: {
    50: '#726ab6',
    500: '#273396',
    950: '#000000',
  },
}
SCSS
$custom: #273396;
$custom-light: #726ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#273396",
  "rgb": {
    "r": 39,
    "g": 51,
    "b": 150
  },
  "hsl": {
    "h": 233.514,
    "s": 58.73,
    "l": 37.059
  },
  "oklch": {
    "l": 0.38063,
    "c": 0.16076,
    "h": 271
  },
  "luminance": 0.05001
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #273396

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

Preview Lab → · Contrast checker → · Palette generator →

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