#273A63#273A63

#273A63 is a dark, moderate blue. Relative luminance 0.044; OKLCH L 35.4% C 0.076 H 264.1°. Best body text is #FFFFFF at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#273A63
RGBrgb(39, 58, 99)
HSLhsl(221, 43%, 27%)
HSVhsv(221, 61%, 39%)
CMYKcmyk(60.6%, 41.4%, 0%, 61.2%)
CIE-LABlab(24.82, 6.27, -26.56)
CIE-LCHlch(24.82, 27.29, 283.29°)
OKLaboklab(35.4% -0.0077 -0.0753)
OKLCHoklch(35.4% 0.076 264.1)
XYZxyz(4.6011, 4.3579, 12.4007)
Luminance0.0436 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273A63 #635027
analogous
#275863 #273A63 #322763
triadic
#273A63 #63273A #3A6327
tetradic
#273A63 #632758 #635027 #276332
square
#273A63 #632758 #635027 #276332
split-complementary
#273A63 #633227 #586327
monochromatic
#090D16 #162037 #273A63 #38548F #4C6EB8

Accessibility & contrast

On white

11.22
#273A63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#273A63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273A63
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273A63#FFFFFF#000000##FFFFFF
##273A631.0011.221.8711.22
#FFFFFF11.221.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293E65
Deuteranopia (green-blind)
#213862
Tritanopia (blue-blind)
#004349
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #273a63;
/* rgb */ color: rgb(39, 58, 99);
/* oklch */ color: oklch(35.4% 0.076 264.1);
Tailwind
colors: {
  custom: {
    50: '#676f8f',
    500: '#273a63',
    950: '#000000',
  },
}
SCSS
$custom: #273a63;
$custom-light: #676f8f;
$custom-dark: #000000;
JSON
{
  "hex": "#273a63",
  "rgb": {
    "r": 39,
    "g": 58,
    "b": 99
  },
  "hsl": {
    "h": 221,
    "s": 43.478,
    "l": 27.059
  },
  "oklch": {
    "l": 0.35397,
    "c": 0.07573,
    "h": 264.1
  },
  "luminance": 0.04358
}

Semantic roles & 50–950 ramp

primary
#273A63
secondary
#968050
accent
#AB55D3
background
#F6F6F8
surface
#EBECF0
border
#C6C7CB
text
#06070C
muted
#7A7A7D

Preview Lab

Preview with #273A63

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

Preview Lab → · Contrast checker → · Palette generator →

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