#273B81#273B81

#273B81 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 37.8% C 0.121 H 268.2°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#273B81
RGBrgb(39, 59, 129)
HSLhsl(227, 54%, 33%)
HSVhsv(227, 70%, 51%)
CMYKcmyk(69.8%, 54.3%, 0%, 49.4%)
CIE-LABlab(27.14, 17.06, -41.94)
CIE-LCHlch(27.14, 45.28, 292.14°)
OKLaboklab(37.82% -0.0039 -0.1205)
OKLCHoklch(37.82% 0.121 268.2)
XYZxyz(6.3618, 5.1436, 21.4222)
Luminance0.0514 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273B81 #816D27
analogous
#276881 #273B81 #402781
triadic
#273B81 #81273B #3B8127
tetradic
#273B81 #812768 #816D27 #278140
square
#273B81 #812768 #816D27 #278140
split-complementary
#273B81 #814027 #688127
monochromatic
#0B1023 #192652 #273B81 #3550B0 #5671CC

Accessibility & contrast

On white

10.35
#273B81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#273B81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273B81
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273B81#FFFFFF#000000##FFFFFF
##273B811.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D4483
Deuteranopia (green-blind)
#003C80
Tritanopia (blue-blind)
#004C58
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #273b81;
/* rgb */ color: rgb(39, 59, 129);
/* oklch */ color: oklch(37.8% 0.121 268.2);
Tailwind
colors: {
  custom: {
    50: '#6d70a6',
    500: '#273b81',
    950: '#000000',
  },
}
SCSS
$custom: #273b81;
$custom-light: #6d70a6;
$custom-dark: #000000;
JSON
{
  "hex": "#273b81",
  "rgb": {
    "r": 39,
    "g": 59,
    "b": 129
  },
  "hsl": {
    "h": 226.667,
    "s": 53.571,
    "l": 32.941
  },
  "oklch": {
    "l": 0.37819,
    "c": 0.12055,
    "h": 268.2
  },
  "luminance": 0.05144
}

Semantic roles & 50–950 ramp

primary
#273B81
secondary
#B19C53
accent
#BC4BDD
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#08070F
muted
#7A7A7F

Preview Lab

Preview with #273B81

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

Preview Lab → · Contrast checker → · Palette generator →

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