#273B79#273B79

#273B79 is a dark, moderate blue. Relative luminance 0.049; OKLCH L 37.2% C 0.109 H 267.5°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#273B79
RGBrgb(39, 59, 121)
HSLhsl(225, 51%, 31%)
HSVhsv(225, 68%, 47%)
CMYKcmyk(67.8%, 51.2%, 0%, 52.5%)
CIE-LABlab(26.56, 13.97, -37.85)
CIE-LCHlch(26.56, 40.35, 290.26°)
OKLaboklab(37.2% -0.0048 -0.1084)
OKLCHoklch(37.2% 0.109 267.5)
XYZxyz(5.8507, 4.9392, 18.7305)
Luminance0.0494 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273B79 #796527
analogous
#276479 #273B79 #3C2779
triadic
#273B79 #79273B #3B7927
tetradic
#273B79 #792764 #796527 #27793C
square
#273B79 #792764 #796527 #27793C
split-complementary
#273B79 #793C27 #647927
monochromatic
#090E1C #18244B #273B79 #3652A7 #536FC8

Accessibility & contrast

On white

10.56
#273B79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#273B79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273B79
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273B79#FFFFFF#000000##FFFFFF
##273B791.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19437B
Deuteranopia (green-blind)
#053B78
Tritanopia (blue-blind)
#004954
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #273b79;
/* rgb */ color: rgb(39, 59, 121);
/* oklch */ color: oklch(37.2% 0.109 267.5);
Tailwind
colors: {
  custom: {
    50: '#6b70a0',
    500: '#273b79',
    950: '#000000',
  },
}
SCSS
$custom: #273b79;
$custom-light: #6b70a0;
$custom-dark: #000000;
JSON
{
  "hex": "#273b79",
  "rgb": {
    "r": 39,
    "g": 59,
    "b": 121
  },
  "hsl": {
    "h": 225.366,
    "s": 51.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.37195,
    "c": 0.10856,
    "h": 267.5
  },
  "luminance": 0.0494
}

Semantic roles & 50–950 ramp

primary
#273B79
secondary
#AB9551
accent
#B84DDB
background
#F6F6F9
surface
#ECECF2
border
#C7C7CC
text
#07070F
muted
#7A7A7E

Preview Lab

Preview with #273B79

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

Preview Lab → · Contrast checker → · Palette generator →

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