#273681#273681

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

Color values

HEX#273681
RGBrgb(39, 54, 129)
HSLhsl(230, 54%, 33%)
HSVhsv(230, 70%, 51%)
CMYKcmyk(69.8%, 58.1%, 0%, 49.4%)
CIE-LABlab(25.73, 20.52, -44.23)
CIE-LCHlch(25.73, 48.76, 294.89°)
OKLaboklab(36.75% 0.0008 -0.1273)
OKLCHoklch(36.75% 0.127 270.4)
XYZxyz(6.1170, 4.6541, 21.3406)
Luminance0.0466 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273681 #817227
analogous
#276381 #273681 #452781
triadic
#273681 #812736 #368127
tetradic
#273681 #812763 #817227 #278145
square
#273681 #812763 #817227 #278145
split-complementary
#273681 #814527 #638127
monochromatic
#0B0F23 #192252 #273681 #354AB0 #566ACC

Accessibility & contrast

On white

10.88
#273681 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#273681 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273681
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273681#FFFFFF#000000##FFFFFF
##2736811.0010.881.9310.88
#FFFFFF10.881.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004184
Deuteranopia (green-blind)
#00397F
Tritanopia (blue-blind)
#004856
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #273681;
/* rgb */ color: rgb(39, 54, 129);
/* oklch */ color: oklch(36.8% 0.127 270.4);
Tailwind
colors: {
  custom: {
    50: '#6d6ca6',
    500: '#273681',
    950: '#000000',
  },
}
SCSS
$custom: #273681;
$custom-light: #6d6ca6;
$custom-dark: #000000;
JSON
{
  "hex": "#273681",
  "rgb": {
    "r": 39,
    "g": 54,
    "b": 129
  },
  "hsl": {
    "h": 230,
    "s": 53.571,
    "l": 32.941
  },
  "oklch": {
    "l": 0.36755,
    "c": 0.12731,
    "h": 270.4
  },
  "luminance": 0.04655
}

Semantic roles & 50–950 ramp

primary
#273681
secondary
#B1A153
accent
#C54BDD
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#08070F
muted
#7A7A7F

Preview Lab

Preview with #273681

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

Preview Lab → · Contrast checker → · Palette generator →

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