#273DA6#273DA6

#273DA6 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.4% C 0.170 H 268.5°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#273DA6
RGBrgb(39, 61, 166)
HSLhsl(230, 62%, 40%)
HSVhsv(230, 77%, 65%)
CMYKcmyk(76.5%, 63.3%, 0%, 34.9%)
CIE-LABlab(30.69, 29.86, -58.85)
CIE-LCHlch(30.69, 65.99, 296.90°)
OKLaboklab(41.41% -0.0044 -0.1701)
OKLCHoklch(41.41% 0.17 268.5)
XYZxyz(9.3860, 6.5210, 36.8330)
Luminance0.0652 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273DA6 #A69027
analogous
#277DA6 #273DA6 #5027A6
triadic
#273DA6 #A6273D #3DA627
tetradic
#273DA6 #A6277D #A69027 #27A650
square
#273DA6 #A6277D #A69027 #27A650
split-complementary
#273DA6 #A65027 #7DA627
monochromatic
#101943 #1B2B74 #273DA6 #3A54D1 #6B7FDC

Accessibility & contrast

On white

9.11
#273DA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#273DA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273DA6
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273DA6#FFFFFF#000000##FFFFFF
##273DA61.009.112.309.11
#FFFFFF9.111.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA9
Deuteranopia (green-blind)
#0042A4
Tritanopia (blue-blind)
#00586B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #273da6;
/* rgb */ color: rgb(39, 61, 166);
/* oklch */ color: oklch(41.4% 0.170 268.5);
Tailwind
colors: {
  custom: {
    50: '#7572c1',
    500: '#273da6',
    950: '#000000',
  },
}
SCSS
$custom: #273da6;
$custom-light: #7572c1;
$custom-dark: #000000;
JSON
{
  "hex": "#273da6",
  "rgb": {
    "r": 39,
    "g": 61,
    "b": 166
  },
  "hsl": {
    "h": 229.606,
    "s": 61.951,
    "l": 40.196
  },
  "oklch": {
    "l": 0.41413,
    "c": 0.17021,
    "h": 268.5
  },
  "luminance": 0.06522
}

Semantic roles & 50–950 ramp

primary
#273DA6
secondary
#C3B366
accent
#C943E5
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #273DA6

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

Preview Lab → · Contrast checker → · Palette generator →

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