#273C99#273C99

#273C99 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.0% C 0.154 H 268.6°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#273C99
RGBrgb(39, 60, 153)
HSLhsl(229, 59%, 38%)
HSVhsv(229, 75%, 60%)
CMYKcmyk(74.5%, 60.8%, 0%, 40%)
CIE-LABlab(29.32, 25.61, -53.23)
CIE-LCHlch(29.32, 59.07, 295.69°)
OKLaboklab(40.05% -0.0036 -0.1536)
OKLCHoklch(40.05% 0.154 268.6)
XYZxyz(8.2003, 5.9621, 30.8494)
Luminance0.0596 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273C99 #998427
analogous
#277599 #273C99 #4B2799
triadic
#273C99 #99273C #3C9927
tetradic
#273C99 #992775 #998427 #27994B
square
#273C99 #992775 #998427 #27994B
split-complementary
#273C99 #994B27 #759927
monochromatic
#0E1637 #1B2968 #273C99 #334FCA #6379D7

Accessibility & contrast

On white

9.58
#273C99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#273C99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273C99
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273C99#FFFFFF#000000##FFFFFF
##273C991.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9C
Deuteranopia (green-blind)
#004097
Tritanopia (blue-blind)
#005364
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #273c99;
/* rgb */ color: rgb(39, 60, 153);
/* oklch */ color: oklch(40.0% 0.154 268.6);
Tailwind
colors: {
  custom: {
    50: '#7271b8',
    500: '#273c99',
    950: '#000000',
  },
}
SCSS
$custom: #273c99;
$custom-light: #7271b8;
$custom-dark: #000000;
JSON
{
  "hex": "#273c99",
  "rgb": {
    "r": 39,
    "g": 60,
    "b": 153
  },
  "hsl": {
    "h": 228.947,
    "s": 59.375,
    "l": 37.647
  },
  "oklch": {
    "l": 0.40049,
    "c": 0.15369,
    "h": 268.6
  },
  "luminance": 0.05963
}

Semantic roles & 50–950 ramp

primary
#273C99
secondary
#BDAC5F
accent
#C645E3
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #273C99

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

Preview Lab → · Contrast checker → · Palette generator →

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