#273A79#273A79

#273A79 is a dark, moderate blue. Relative luminance 0.048; OKLCH L 37.0% C 0.110 H 268.1°. Best body text is #FFFFFF at 10.67:1 contrast (WCAG AA passes).

Color values

HEX#273A79
RGBrgb(39, 58, 121)
HSLhsl(226, 51%, 31%)
HSVhsv(226, 68%, 47%)
CMYKcmyk(67.8%, 52.1%, 0%, 52.5%)
CIE-LABlab(26.27, 14.66, -38.32)
CIE-LCHlch(26.27, 41.03, 290.94°)
OKLaboklab(36.97% -0.0037 -0.1099)
OKLCHoklch(36.97% 0.11 268.1)
XYZxyz(5.7998, 4.8374, 18.7135)
Luminance0.0484 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273A79 #796627
analogous
#276379 #273A79 #3D2779
triadic
#273A79 #79273A #3A7927
tetradic
#273A79 #792763 #796627 #27793D
square
#273A79 #792763 #796627 #27793D
split-complementary
#273A79 #793D27 #637927
monochromatic
#090E1C #18244B #273A79 #3650A7 #536EC8

Accessibility & contrast

On white

10.67
#273A79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#273A79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273A79
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273A79#FFFFFF#000000##FFFFFF
##273A791.0010.671.9710.67
#FFFFFF10.671.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17427B
Deuteranopia (green-blind)
#013B78
Tritanopia (blue-blind)
#004953
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #273a79;
/* rgb */ color: rgb(39, 58, 121);
/* oklch */ color: oklch(37.0% 0.110 268.1);
Tailwind
colors: {
  custom: {
    50: '#6b6fa0',
    500: '#273a79',
    950: '#000000',
  },
}
SCSS
$custom: #273a79;
$custom-light: #6b6fa0;
$custom-dark: #000000;
JSON
{
  "hex": "#273a79",
  "rgb": {
    "r": 39,
    "g": 58,
    "b": 121
  },
  "hsl": {
    "h": 226.098,
    "s": 51.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.36971,
    "c": 0.10992,
    "h": 268.1
  },
  "luminance": 0.04838
}

Semantic roles & 50–950 ramp

primary
#273A79
secondary
#AB9651
accent
#BA4DDB
background
#F6F6F9
surface
#ECECF2
border
#C7C7CC
text
#07070F
muted
#7A7A7E

Preview Lab

Preview with #273A79

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

Preview Lab → · Contrast checker → · Palette generator →

#273A79 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva