#273985#273985

#273985 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 37.7% C 0.129 H 269.2°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#273985
RGBrgb(39, 57, 133)
HSLhsl(229, 55%, 34%)
HSVhsv(229, 71%, 52%)
CMYKcmyk(70.7%, 57.1%, 0%, 47.8%)
CIE-LABlab(26.88, 19.99, -44.87)
CIE-LCHlch(26.88, 49.12, 294.01°)
OKLaboklab(37.72% -0.0017 -0.1291)
OKLCHoklch(37.72% 0.129 269.2)
XYZxyz(6.5320, 5.0504, 22.8163)
Luminance0.0505 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273985 #857327
analogous
#276885 #273985 #442785
triadic
#273985 #852739 #398527
tetradic
#273985 #852768 #857327 #278544
square
#273985 #852768 #857327 #278544
split-complementary
#273985 #854427 #688527
monochromatic
#0B1026 #192556 #273985 #354DB4 #586FCE

Accessibility & contrast

On white

10.45
#273985 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #273985
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273985#FFFFFF#000000##FFFFFF
##2739851.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004488
Deuteranopia (green-blind)
#003B83
Tritanopia (blue-blind)
#004B59
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #273985;
/* rgb */ color: rgb(39, 57, 133);
/* oklch */ color: oklch(37.7% 0.129 269.2);
Tailwind
colors: {
  custom: {
    50: '#6e6fa9',
    500: '#273985',
    950: '#000000',
  },
}
SCSS
$custom: #273985;
$custom-light: #6e6fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#273985",
  "rgb": {
    "r": 39,
    "g": 57,
    "b": 133
  },
  "hsl": {
    "h": 228.511,
    "s": 54.651,
    "l": 33.725
  },
  "oklch": {
    "l": 0.37719,
    "c": 0.12913,
    "h": 269.2
  },
  "luminance": 0.05051
}

Semantic roles & 50–950 ramp

primary
#273985
secondary
#B3A155
accent
#C24ADE
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #273985

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

Preview Lab → · Contrast checker → · Palette generator →

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