#273C85#273C85

#273C85 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.4% C 0.125 H 267.9°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#273C85
RGBrgb(39, 60, 133)
HSLhsl(227, 55%, 34%)
HSVhsv(227, 71%, 52%)
CMYKcmyk(70.7%, 54.9%, 0%, 47.8%)
CIE-LABlab(27.73, 17.92, -43.49)
CIE-LCHlch(27.73, 47.04, 292.39°)
OKLaboklab(38.36% -0.0045 -0.125)
OKLCHoklch(38.36% 0.125 267.9)
XYZxyz(6.6847, 5.3559, 22.8672)
Luminance0.0536 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273C85 #857027
analogous
#276B85 #273C85 #412785
triadic
#273C85 #85273C #3C8527
tetradic
#273C85 #85276B #857027 #278541
square
#273C85 #85276B #857027 #278541
split-complementary
#273C85 #854127 #6B8527
monochromatic
#0B1126 #192756 #273C85 #3551B4 #5873CE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##273C85#FFFFFF#000000##FFFFFF
##273C851.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)
#094688
Deuteranopia (green-blind)
#003D84
Tritanopia (blue-blind)
#004D5A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #273c85;
/* rgb */ color: rgb(39, 60, 133);
/* oklch */ color: oklch(38.4% 0.125 267.9);
Tailwind
colors: {
  custom: {
    50: '#6d71a9',
    500: '#273c85',
    950: '#000000',
  },
}
SCSS
$custom: #273c85;
$custom-light: #6d71a9;
$custom-dark: #000000;
JSON
{
  "hex": "#273c85",
  "rgb": {
    "r": 39,
    "g": 60,
    "b": 133
  },
  "hsl": {
    "h": 226.596,
    "s": 54.651,
    "l": 33.725
  },
  "oklch": {
    "l": 0.38357,
    "c": 0.12512,
    "h": 267.9
  },
  "luminance": 0.05357
}

Semantic roles & 50–950 ramp

primary
#273C85
secondary
#B39E55
accent
#BD4ADE
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #273C85

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

Preview Lab → · Contrast checker → · Palette generator →

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