#273D88#273D88

#273D88 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 38.8% C 0.128 H 267.7°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#273D88
RGBrgb(39, 61, 136)
HSLhsl(226, 55%, 34%)
HSVhsv(226, 71%, 53%)
CMYKcmyk(71.3%, 55.1%, 0%, 46.7%)
CIE-LABlab(28.24, 18.39, -44.53)
CIE-LCHlch(28.24, 48.18, 292.44°)
OKLaboklab(38.81% -0.0052 -0.1281)
OKLCHoklch(38.81% 0.128 267.7)
XYZxyz(6.9478, 5.5457, 23.9920)
Luminance0.0555 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273D88 #887227
analogous
#276E88 #273D88 #422788
triadic
#273D88 #88273D #3D8827
tetradic
#273D88 #88276E #887227 #278842
square
#273D88 #88276E #887227 #278842
split-complementary
#273D88 #884227 #6E8827
monochromatic
#0C1229 #192858 #273D88 #3552B8 #5A75D0

Accessibility & contrast

On white

9.96
#273D88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#273D88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273D88
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273D88#FFFFFF#000000##FFFFFF
##273D881.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06478B
Deuteranopia (green-blind)
#003E86
Tritanopia (blue-blind)
#004F5C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #273d88;
/* rgb */ color: rgb(39, 61, 136);
/* oklch */ color: oklch(38.8% 0.128 267.7);
Tailwind
colors: {
  custom: {
    50: '#6e72ab',
    500: '#273d88',
    950: '#000000',
  },
}
SCSS
$custom: #273d88;
$custom-light: #6e72ab;
$custom-dark: #000000;
JSON
{
  "hex": "#273d88",
  "rgb": {
    "r": 39,
    "g": 61,
    "b": 136
  },
  "hsl": {
    "h": 226.392,
    "s": 55.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.38814,
    "c": 0.12818,
    "h": 267.7
  },
  "luminance": 0.05546
}

Semantic roles & 50–950 ramp

primary
#273D88
secondary
#B59F56
accent
#BD49DF
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #273D88

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

Preview Lab → · Contrast checker → · Palette generator →

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