#273BA8#273BA8

#273BA8 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.2% C 0.175 H 268.9°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#273BA8
RGBrgb(39, 59, 168)
HSLhsl(231, 62%, 41%)
HSVhsv(231, 77%, 66%)
CMYKcmyk(76.8%, 64.9%, 0%, 34.1%)
CIE-LABlab(30.36, 31.92, -60.59)
CIE-LCHlch(30.36, 68.48, 297.78°)
OKLaboklab(41.23% -0.0033 -0.1752)
OKLCHoklch(41.23% 0.175 268.9)
XYZxyz(9.4661, 6.3854, 37.7718)
Luminance0.0639 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273BA8 #A89427
analogous
#277BA8 #273BA8 #5427A8
triadic
#273BA8 #A8273B #3BA827
tetradic
#273BA8 #A8277B #A89427 #27A854
square
#273BA8 #A8277B #A89427 #27A854
split-complementary
#273BA8 #A85427 #7BA827
monochromatic
#101845 #1B2A76 #273BA8 #3B52D1 #6C7EDD

Accessibility & contrast

On white

9.22
#273BA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#273BA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273BA8
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273BA8#FFFFFF#000000##FFFFFF
##273BA81.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAB
Deuteranopia (green-blind)
#0041A6
Tritanopia (blue-blind)
#00586C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #273ba8;
/* rgb */ color: rgb(39, 59, 168);
/* oklch */ color: oklch(41.2% 0.175 268.9);
Tailwind
colors: {
  custom: {
    50: '#7671c3',
    500: '#273ba8',
    950: '#000000',
  },
}
SCSS
$custom: #273ba8;
$custom-light: #7671c3;
$custom-dark: #000000;
JSON
{
  "hex": "#273ba8",
  "rgb": {
    "r": 39,
    "g": 59,
    "b": 168
  },
  "hsl": {
    "h": 230.698,
    "s": 62.319,
    "l": 40.588
  },
  "oklch": {
    "l": 0.41228,
    "c": 0.17528,
    "h": 268.9
  },
  "luminance": 0.06386
}

Semantic roles & 50–950 ramp

primary
#273BA8
secondary
#C3B567
accent
#CC42E5
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #273BA8

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

Preview Lab → · Contrast checker → · Palette generator →

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