#273A8A#273A8A

#273A8A is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.3% C 0.135 H 269.0°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#273A8A
RGBrgb(39, 58, 138)
HSLhsl(228, 56%, 35%)
HSVhsv(228, 72%, 54%)
CMYKcmyk(71.7%, 58%, 0%, 45.9%)
CIE-LABlab(27.55, 21.22, -46.88)
CIE-LCHlch(27.55, 51.46, 294.35°)
OKLaboklab(38.35% -0.0024 -0.135)
OKLCHoklch(38.35% 0.135 269)
XYZxyz(6.9356, 5.2917, 24.6957)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273A8A #8A7727
analogous
#276C8A #273A8A #46278A
triadic
#273A8A #8A273A #3A8A27
tetradic
#273A8A #8A276C #8A7727 #278A46
square
#273A8A #8A276C #8A7727 #278A46
split-complementary
#273A8A #8A4627 #6C8A27
monochromatic
#0C122B #1A265A #273A8A #344EBA #5B71D1

Accessibility & contrast

On white

10.20
#273A8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #273A8A
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273A8A#FFFFFF#000000##FFFFFF
##273A8A1.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #273a8a;
/* rgb */ color: rgb(39, 58, 138);
/* oklch */ color: oklch(38.3% 0.135 269.0);
Tailwind
colors: {
  custom: {
    50: '#6f6fad',
    500: '#273a8a',
    950: '#000000',
  },
}
SCSS
$custom: #273a8a;
$custom-light: #6f6fad;
$custom-dark: #000000;
JSON
{
  "hex": "#273a8a",
  "rgb": {
    "r": 39,
    "g": 58,
    "b": 138
  },
  "hsl": {
    "h": 228.485,
    "s": 55.932,
    "l": 34.706
  },
  "oklch": {
    "l": 0.38347,
    "c": 0.13506,
    "h": 269
  },
  "luminance": 0.05292
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #273A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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