#273F79#273F79

#273F79 is a dark, moderate blue. Relative luminance 0.054; OKLCH L 38.1% C 0.103 H 265.0°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#273F79
RGBrgb(39, 63, 121)
HSLhsl(222, 51%, 31%)
HSVhsv(222, 68%, 47%)
CMYKcmyk(67.8%, 47.9%, 0%, 52.5%)
CIE-LABlab(27.75, 11.20, -35.93)
CIE-LCHlch(27.75, 37.64, 287.31°)
OKLaboklab(38.11% -0.009 -0.1027)
OKLCHoklch(38.11% 0.103 265)
XYZxyz(6.0642, 5.3663, 18.8017)
Luminance0.0537 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273F79 #796127
analogous
#276879 #273F79 #382779
triadic
#273F79 #79273F #3F7927
tetradic
#273F79 #792768 #796127 #277938
square
#273F79 #792768 #796127 #277938
split-complementary
#273F79 #793827 #687927
monochromatic
#090F1C #18274B #273F79 #3657A7 #5375C8

Accessibility & contrast

On white

10.13
#273F79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#273F79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273F79
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273F79#FFFFFF#000000##FFFFFF
##273F791.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22467B
Deuteranopia (green-blind)
#133E78
Tritanopia (blue-blind)
#004C56
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #273f79;
/* rgb */ color: rgb(39, 63, 121);
/* oklch */ color: oklch(38.1% 0.103 265.0);
Tailwind
colors: {
  custom: {
    50: '#6b73a0',
    500: '#273f79',
    950: '#000000',
  },
}
SCSS
$custom: #273f79;
$custom-light: #6b73a0;
$custom-dark: #000000;
JSON
{
  "hex": "#273f79",
  "rgb": {
    "r": 39,
    "g": 63,
    "b": 121
  },
  "hsl": {
    "h": 222.439,
    "s": 51.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.38106,
    "c": 0.10314,
    "h": 265
  },
  "luminance": 0.05367
}

Semantic roles & 50–950 ramp

primary
#273F79
secondary
#AB9151
accent
#B14DDB
background
#F6F6F9
surface
#ECECF2
border
#C7C7CC
text
#07080F
muted
#7A7B7E

Preview Lab

Preview with #273F79

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

Preview Lab → · Contrast checker → · Palette generator →

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