#273DA7#273DA7

#273DA7 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.5% C 0.172 H 268.5°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#273DA7
RGBrgb(39, 61, 167)
HSLhsl(230, 62%, 40%)
HSVhsv(230, 77%, 65%)
CMYKcmyk(76.6%, 63.5%, 0%, 34.5%)
CIE-LABlab(30.78, 30.23, -59.31)
CIE-LCHlch(30.78, 66.57, 297.01°)
OKLaboklab(41.51% -0.0045 -0.1715)
OKLCHoklch(41.51% 0.172 268.5)
XYZxyz(9.4781, 6.5578, 37.3180)
Luminance0.0656 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273DA7 #A79127
analogous
#277DA7 #273DA7 #5127A7
triadic
#273DA7 #A7273D #3DA727
tetradic
#273DA7 #A7277D #A79127 #27A751
square
#273DA7 #A7277D #A79127 #27A751
split-complementary
#273DA7 #A75127 #7DA727
monochromatic
#101944 #1B2B75 #273DA7 #3A54D1 #6C7FDD

Accessibility & contrast

On white

9.08
#273DA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#273DA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273DA7
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273DA7#FFFFFF#000000##FFFFFF
##273DA71.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAA
Deuteranopia (green-blind)
#0043A5
Tritanopia (blue-blind)
#00596C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #273da7;
/* rgb */ color: rgb(39, 61, 167);
/* oklch */ color: oklch(41.5% 0.172 268.5);
Tailwind
colors: {
  custom: {
    50: '#7672c2',
    500: '#273da7',
    950: '#000000',
  },
}
SCSS
$custom: #273da7;
$custom-light: #7672c2;
$custom-dark: #000000;
JSON
{
  "hex": "#273da7",
  "rgb": {
    "r": 39,
    "g": 61,
    "b": 167
  },
  "hsl": {
    "h": 229.688,
    "s": 62.136,
    "l": 40.392
  },
  "oklch": {
    "l": 0.41505,
    "c": 0.17155,
    "h": 268.5
  },
  "luminance": 0.06559
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #273DA7

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

Preview Lab → · Contrast checker → · Palette generator →

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