#273684#273684

#273684 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.0% C 0.132 H 270.4°. Best body text is #FFFFFF at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#273684
RGBrgb(39, 54, 132)
HSLhsl(230, 54%, 34%)
HSVhsv(230, 70%, 52%)
CMYKcmyk(70.5%, 59.1%, 0%, 48.2%)
CIE-LABlab(25.97, 21.67, -45.72)
CIE-LCHlch(25.97, 50.60, 295.36°)
OKLaboklab(37.01% 0.0009 -0.1317)
OKLCHoklch(37.01% 0.132 270.4)
XYZxyz(6.3193, 4.7350, 22.4062)
Luminance0.0474 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273684 #847527
analogous
#276484 #273684 #462784
triadic
#273684 #842736 #368427
tetradic
#273684 #842764 #847527 #278446
square
#273684 #842764 #847527 #278446
split-complementary
#273684 #844627 #648427
monochromatic
#0B0F26 #192355 #273684 #3549B3 #586BCE

Accessibility & contrast

On white

10.78
#273684 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #273684
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273684#FFFFFF#000000##FFFFFF
##2736841.0010.781.9510.78
#FFFFFF10.781.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004287
Deuteranopia (green-blind)
#003982
Tritanopia (blue-blind)
#004957
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #273684;
/* rgb */ color: rgb(39, 54, 132);
/* oklch */ color: oklch(37.0% 0.132 270.4);
Tailwind
colors: {
  custom: {
    50: '#6e6ca8',
    500: '#273684',
    950: '#000000',
  },
}
SCSS
$custom: #273684;
$custom-light: #6e6ca8;
$custom-dark: #000000;
JSON
{
  "hex": "#273684",
  "rgb": {
    "r": 39,
    "g": 54,
    "b": 132
  },
  "hsl": {
    "h": 230.323,
    "s": 54.386,
    "l": 33.529
  },
  "oklch": {
    "l": 0.37011,
    "c": 0.13168,
    "h": 270.4
  },
  "luminance": 0.04736
}

Semantic roles & 50–950 ramp

primary
#273684
secondary
#B2A354
accent
#C64ADE
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #273684

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

Preview Lab → · Contrast checker → · Palette generator →

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