#273C83#273C83

#273C83 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.2% C 0.122 H 267.8°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#273C83
RGBrgb(39, 60, 131)
HSLhsl(226, 54%, 33%)
HSVhsv(226, 70%, 51%)
CMYKcmyk(70.2%, 54.2%, 0%, 48.6%)
CIE-LABlab(27.58, 17.14, -42.49)
CIE-LCHlch(27.58, 45.82, 291.97°)
OKLaboklab(38.2% -0.0047 -0.1221)
OKLCHoklch(38.2% 0.122 267.8)
XYZxyz(6.5479, 5.3011, 22.1465)
Luminance0.0530 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273C83 #836E27
analogous
#276A83 #273C83 #402783
triadic
#273C83 #83273C #3C8327
tetradic
#273C83 #83276A #836E27 #278340
square
#273C83 #83276A #836E27 #278340
split-complementary
#273C83 #834027 #6A8327
monochromatic
#0B1125 #192654 #273C83 #3552B2 #5772CD

Accessibility & contrast

On white

10.19
#273C83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#273C83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273C83
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273C83#FFFFFF#000000##FFFFFF
##273C831.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D4586
Deuteranopia (green-blind)
#003D82
Tritanopia (blue-blind)
#004D59
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #273c83;
/* rgb */ color: rgb(39, 60, 131);
/* oklch */ color: oklch(38.2% 0.122 267.8);
Tailwind
colors: {
  custom: {
    50: '#6d71a8',
    500: '#273c83',
    950: '#000000',
  },
}
SCSS
$custom: #273c83;
$custom-light: #6d71a8;
$custom-dark: #000000;
JSON
{
  "hex": "#273c83",
  "rgb": {
    "r": 39,
    "g": 60,
    "b": 131
  },
  "hsl": {
    "h": 226.304,
    "s": 54.118,
    "l": 33.333
  },
  "oklch": {
    "l": 0.38196,
    "c": 0.12217,
    "h": 267.8
  },
  "luminance": 0.05302
}

Semantic roles & 50–950 ramp

primary
#273C83
secondary
#B29C54
accent
#BC4ADD
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#08070F
muted
#7A7A7F

Preview Lab

Preview with #273C83

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

Preview Lab → · Contrast checker → · Palette generator →

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