#273B8B#273B8B

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

Color values

HEX#273B8B
RGBrgb(39, 59, 139)
HSLhsl(228, 56%, 35%)
HSVhsv(228, 72%, 55%)
CMYKcmyk(71.9%, 57.6%, 0%, 45.5%)
CIE-LABlab(27.91, 20.92, -46.92)
CIE-LCHlch(27.91, 51.38, 294.03°)
OKLaboklab(38.64% -0.0032 -0.1351)
OKLCHoklch(38.64% 0.135 268.6)
XYZxyz(7.0593, 5.4226, 25.0957)
Luminance0.0542 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273B8B #8B7727
analogous
#276D8B #273B8B #45278B
triadic
#273B8B #8B273B #3B8B27
tetradic
#273B8B #8B276D #8B7727 #278B45
square
#273B8B #8B276D #8B7727 #278B45
split-complementary
#273B8B #8B4527 #6D8B27
monochromatic
#0C122B #1A275B #273B8B #344FBB #5B73D1

Accessibility & contrast

On white

10.07
#273B8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #273B8B
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273B8B#FFFFFF#000000##FFFFFF
##273B8B1.0010.072.0810.07
#FFFFFF10.071.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478E
Deuteranopia (green-blind)
#003D89
Tritanopia (blue-blind)
#004F5D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #273b8b;
/* rgb */ color: rgb(39, 59, 139);
/* oklch */ color: oklch(38.6% 0.135 268.6);
Tailwind
colors: {
  custom: {
    50: '#6f70ae',
    500: '#273b8b',
    950: '#000000',
  },
}
SCSS
$custom: #273b8b;
$custom-light: #6f70ae;
$custom-dark: #000000;
JSON
{
  "hex": "#273b8b",
  "rgb": {
    "r": 39,
    "g": 59,
    "b": 139
  },
  "hsl": {
    "h": 228,
    "s": 56.18,
    "l": 34.902
  },
  "oklch": {
    "l": 0.38639,
    "c": 0.13519,
    "h": 268.6
  },
  "luminance": 0.05423
}

Semantic roles & 50–950 ramp

primary
#273B8B
secondary
#B6A358
accent
#C148DF
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #273B8B

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

Preview Lab → · Contrast checker → · Palette generator →

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