#273B8E#273B8E

#273B8E is a dark, vivid blue. Relative luminance 0.055; OKLCH L 38.9% C 0.139 H 268.7°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#273B8E
RGBrgb(39, 59, 142)
HSLhsl(228, 57%, 35%)
HSVhsv(228, 73%, 56%)
CMYKcmyk(72.5%, 58.5%, 0%, 44.3%)
CIE-LABlab(28.14, 22.08, -48.39)
CIE-LCHlch(28.14, 53.19, 294.52°)
OKLaboklab(38.89% -0.0031 -0.1395)
OKLCHoklch(38.89% 0.139 268.7)
XYZxyz(7.2815, 5.5115, 26.2660)
Luminance0.0551 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273B8E #8E7A27
analogous
#276E8E #273B8E #47278E
triadic
#273B8E #8E273B #3B8E27
tetradic
#273B8E #8E276E #8E7A27 #278E47
square
#273B8E #8E276E #8E7A27 #278E47
split-complementary
#273B8E #8E4727 #6E8E27
monochromatic
#0D132E #1A275E #273B8E #344FBE #5D74D2

Accessibility & contrast

On white

9.99
#273B8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#273B8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273B8E
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273B8E#FFFFFF#000000##FFFFFF
##273B8E1.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004791
Deuteranopia (green-blind)
#003E8C
Tritanopia (blue-blind)
#004F5E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #273b8e;
/* rgb */ color: rgb(39, 59, 142);
/* oklch */ color: oklch(38.9% 0.139 268.7);
Tailwind
colors: {
  custom: {
    50: '#7070b0',
    500: '#273b8e',
    950: '#000000',
  },
}
SCSS
$custom: #273b8e;
$custom-light: #7070b0;
$custom-dark: #000000;
JSON
{
  "hex": "#273b8e",
  "rgb": {
    "r": 39,
    "g": 59,
    "b": 142
  },
  "hsl": {
    "h": 228.35,
    "s": 56.906,
    "l": 35.49
  },
  "oklch": {
    "l": 0.38893,
    "c": 0.13949,
    "h": 268.7
  },
  "luminance": 0.05512
}

Semantic roles & 50–950 ramp

primary
#273B8E
secondary
#B8A559
accent
#C348E0
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #273B8E

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

Preview Lab → · Contrast checker → · Palette generator →

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