#273B8A#273B8A

#273B8A is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.6% C 0.134 H 268.6°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#273B8A
RGBrgb(39, 59, 138)
HSLhsl(228, 56%, 35%)
HSVhsv(228, 72%, 54%)
CMYKcmyk(71.7%, 57.2%, 0%, 45.9%)
CIE-LABlab(27.83, 20.54, -46.43)
CIE-LCHlch(27.83, 50.77, 293.86°)
OKLaboklab(38.56% -0.0032 -0.1337)
OKLCHoklch(38.56% 0.134 268.6)
XYZxyz(6.9865, 5.3935, 24.7127)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273B8A #8A7627
analogous
#276C8A #273B8A #45278A
triadic
#273B8A #8A273B #3B8A27
tetradic
#273B8A #8A276C #8A7627 #278A45
square
#273B8A #8A276C #8A7627 #278A45
split-complementary
#273B8A #8A4527 #6C8A27
monochromatic
#0C122B #1A275A #273B8A #344FBA #5B73D1

Accessibility & contrast

On white

10.10
#273B8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#273B8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273B8A
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273B8A#FFFFFF#000000##FFFFFF
##273B8A1.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468D
Deuteranopia (green-blind)
#003D88
Tritanopia (blue-blind)
#004E5C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #273b8a;
/* rgb */ color: rgb(39, 59, 138);
/* oklch */ color: oklch(38.6% 0.134 268.6);
Tailwind
colors: {
  custom: {
    50: '#6f70ad',
    500: '#273b8a',
    950: '#000000',
  },
}
SCSS
$custom: #273b8a;
$custom-light: #6f70ad;
$custom-dark: #000000;
JSON
{
  "hex": "#273b8a",
  "rgb": {
    "r": 39,
    "g": 59,
    "b": 138
  },
  "hsl": {
    "h": 227.879,
    "s": 55.932,
    "l": 34.706
  },
  "oklch": {
    "l": 0.38555,
    "c": 0.13374,
    "h": 268.6
  },
  "luminance": 0.05394
}

Semantic roles & 50–950 ramp

primary
#273B8A
secondary
#B6A357
accent
#C149DF
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #273B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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