#273995#273995

#273995 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.1% C 0.152 H 269.5°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#273995
RGBrgb(39, 57, 149)
HSLhsl(230, 59%, 37%)
HSVhsv(230, 74%, 58%)
CMYKcmyk(73.8%, 61.7%, 0%, 41.6%)
CIE-LABlab(28.19, 26.11, -52.63)
CIE-LCHlch(28.19, 58.75, 296.38°)
OKLaboklab(39.1% -0.0014 -0.1519)
OKLCHoklch(39.1% 0.152 269.5)
XYZxyz(7.7228, 5.5267, 29.0877)
Luminance0.0553 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273995 #958327
analogous
#277095 #273995 #4C2795
triadic
#273995 #952739 #399527
tetradic
#273995 #952770 #958327 #27954C
square
#273995 #952770 #958327 #27954C
split-complementary
#273995 #954C27 #709527
monochromatic
#0E1434 #1A2664 #273995 #344CC6 #6174D6

Accessibility & contrast

On white

9.97
#273995 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#273995 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273995
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273995#FFFFFF#000000##FFFFFF
##2739951.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004898
Deuteranopia (green-blind)
#003E93
Tritanopia (blue-blind)
#005061
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #273995;
/* rgb */ color: rgb(39, 57, 149);
/* oklch */ color: oklch(39.1% 0.152 269.5);
Tailwind
colors: {
  custom: {
    50: '#716fb5',
    500: '#273995',
    950: '#000000',
  },
}
SCSS
$custom: #273995;
$custom-light: #716fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#273995",
  "rgb": {
    "r": 39,
    "g": 57,
    "b": 149
  },
  "hsl": {
    "h": 230.182,
    "s": 58.511,
    "l": 36.863
  },
  "oklch": {
    "l": 0.39104,
    "c": 0.15194,
    "h": 269.5
  },
  "luminance": 0.05528
}

Semantic roles & 50–950 ramp

primary
#273995
secondary
#BBAC5D
accent
#C846E2
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #273995

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

Preview Lab → · Contrast checker → · Palette generator →

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