#273EA8#273EA8

#273EA8 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.8% C 0.172 H 268.3°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#273EA8
RGBrgb(39, 62, 168)
HSLhsl(229, 62%, 41%)
HSVhsv(229, 77%, 66%)
CMYKcmyk(76.8%, 63.1%, 0%, 34.1%)
CIE-LABlab(31.12, 29.95, -59.35)
CIE-LCHlch(31.12, 66.48, 296.77°)
OKLaboklab(41.78% -0.0051 -0.1716)
OKLCHoklch(41.78% 0.172 268.3)
XYZxyz(9.6248, 6.7027, 37.8247)
Luminance0.0670 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273EA8 #A89127
analogous
#277FA8 #273EA8 #5027A8
triadic
#273EA8 #A8273E #3EA827
tetradic
#273EA8 #A8277F #A89127 #27A850
square
#273EA8 #A8277F #A89127 #27A850
split-complementary
#273EA8 #A85027 #7FA827
monochromatic
#101945 #1B2C76 #273EA8 #3B56D1 #6C80DD

Accessibility & contrast

On white

8.97
#273EA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#273EA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273EA8
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273EA8#FFFFFF#000000##FFFFFF
##273EA81.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAB
Deuteranopia (green-blind)
#0043A6
Tritanopia (blue-blind)
#00596D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #273ea8;
/* rgb */ color: rgb(39, 62, 168);
/* oklch */ color: oklch(41.8% 0.172 268.3);
Tailwind
colors: {
  custom: {
    50: '#7673c3',
    500: '#273ea8',
    950: '#000000',
  },
}
SCSS
$custom: #273ea8;
$custom-light: #7673c3;
$custom-dark: #000000;
JSON
{
  "hex": "#273ea8",
  "rgb": {
    "r": 39,
    "g": 62,
    "b": 168
  },
  "hsl": {
    "h": 229.302,
    "s": 62.319,
    "l": 40.588
  },
  "oklch": {
    "l": 0.41784,
    "c": 0.17168,
    "h": 268.3
  },
  "luminance": 0.06704
}

Semantic roles & 50–950 ramp

primary
#273EA8
secondary
#C3B367
accent
#C842E5
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #273EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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