#273079#273079

#273079 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 34.8% C 0.124 H 272.9°. Best body text is #FFFFFF at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#273079
RGBrgb(39, 48, 121)
HSLhsl(233, 51%, 31%)
HSVhsv(233, 68%, 47%)
CMYKcmyk(67.8%, 60.3%, 0%, 52.5%)
CIE-LABlab(23.42, 21.62, -42.93)
CIE-LCHlch(23.42, 48.06, 296.73°)
OKLaboklab(34.83% 0.0062 -0.1235)
OKLCHoklch(34.83% 0.124 272.9)
XYZxyz(5.3437, 3.9252, 18.5615)
Luminance0.0393 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273079 #797027
analogous
#275979 #273079 #472779
triadic
#273079 #792730 #307927
tetradic
#273079 #792759 #797027 #277947
square
#273079 #792759 #797027 #277947
split-complementary
#273079 #794727 #597927
monochromatic
#090B1C #181E4B #273079 #3642A7 #5360C8

Accessibility & contrast

On white

11.76
#273079 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#273079 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273079
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273079#FFFFFF#000000##FFFFFF
##2730791.0011.761.7911.76
#FFFFFF11.761.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7B
Deuteranopia (green-blind)
#003478
Tritanopia (blue-blind)
#00424F
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #273079;
/* rgb */ color: rgb(39, 48, 121);
/* oklch */ color: oklch(34.8% 0.124 272.9);
Tailwind
colors: {
  custom: {
    50: '#6c68a0',
    500: '#273079',
    950: '#000000',
  },
}
SCSS
$custom: #273079;
$custom-light: #6c68a0;
$custom-dark: #000000;
JSON
{
  "hex": "#273079",
  "rgb": {
    "r": 39,
    "g": 48,
    "b": 121
  },
  "hsl": {
    "h": 233.415,
    "s": 51.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.34833,
    "c": 0.12369,
    "h": 272.9
  },
  "luminance": 0.03926
}

Semantic roles & 50–950 ramp

primary
#273079
secondary
#ABA151
accent
#CB4DDB
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060F
muted
#7A7A7E

Preview Lab

Preview with #273079

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

Preview Lab → · Contrast checker → · Palette generator →

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