#273D81#273D81

#273D81 is a dark, moderate blue. Relative luminance 0.054; OKLCH L 38.3% C 0.118 H 267.2°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#273D81
RGBrgb(39, 61, 129)
HSLhsl(225, 54%, 33%)
HSVhsv(225, 70%, 51%)
CMYKcmyk(69.8%, 52.7%, 0%, 49.4%)
CIE-LABlab(27.72, 15.68, -41.01)
CIE-LCHlch(27.72, 43.90, 290.92°)
OKLaboklab(38.26% -0.0058 -0.1177)
OKLCHoklch(38.26% 0.118 267.2)
XYZxyz(6.4665, 5.3532, 21.4571)
Luminance0.0535 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273D81 #816B27
analogous
#276A81 #273D81 #3E2781
triadic
#273D81 #81273D #3D8127
tetradic
#273D81 #81276A #816B27 #27813E
square
#273D81 #81276A #816B27 #27813E
split-complementary
#273D81 #813E27 #6A8127
monochromatic
#0B1123 #192752 #273D81 #3553B0 #5673CC

Accessibility & contrast

On white

10.14
#273D81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #273D81
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273D81#FFFFFF#000000##FFFFFF
##273D811.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144683
Deuteranopia (green-blind)
#003E80
Tritanopia (blue-blind)
#004D59
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #273d81;
/* rgb */ color: rgb(39, 61, 129);
/* oklch */ color: oklch(38.3% 0.118 267.2);
Tailwind
colors: {
  custom: {
    50: '#6c72a6',
    500: '#273d81',
    950: '#000000',
  },
}
SCSS
$custom: #273d81;
$custom-light: #6c72a6;
$custom-dark: #000000;
JSON
{
  "hex": "#273d81",
  "rgb": {
    "r": 39,
    "g": 61,
    "b": 129
  },
  "hsl": {
    "h": 225.333,
    "s": 53.571,
    "l": 32.941
  },
  "oklch": {
    "l": 0.38257,
    "c": 0.11786,
    "h": 267.2
  },
  "luminance": 0.05354
}

Semantic roles & 50–950 ramp

primary
#273D81
secondary
#B19A53
accent
#B94BDD
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#08070F
muted
#7A7A7F

Preview Lab

Preview with #273D81

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

Preview Lab → · Contrast checker → · Palette generator →

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