#273CAF#273CAF

#273CAF is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.1% C 0.183 H 268.7°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#273CAF
RGBrgb(39, 60, 175)
HSLhsl(231, 64%, 42%)
HSVhsv(231, 78%, 69%)
CMYKcmyk(77.7%, 65.7%, 0%, 31.4%)
CIE-LABlab(31.25, 33.86, -63.33)
CIE-LCHlch(31.25, 71.82, 298.13°)
OKLaboklab(42.07% -0.0042 -0.1833)
OKLCHoklch(42.07% 0.183 268.7)
XYZxyz(10.1877, 6.7571, 41.3164)
Luminance0.0676 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273CAF #AF9A27
analogous
#2780AF #273CAF #5627AF
triadic
#273CAF #AF273C #3CAF27
tetradic
#273CAF #AF2780 #AF9A27 #27AF56
square
#273CAF #AF2780 #AF9A27 #27AF56
split-complementary
#273CAF #AF5627 #80AF27
monochromatic
#111A4B #1C2B7D #273CAF #3F56D4 #7182DF

Accessibility & contrast

On white

8.93
#273CAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#273CAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273CAF
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273CAF#FFFFFF#000000##FFFFFF
##273CAF1.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B3
Deuteranopia (green-blind)
#0043AD
Tritanopia (blue-blind)
#005B70
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #273caf;
/* rgb */ color: rgb(39, 60, 175);
/* oklch */ color: oklch(42.1% 0.183 268.7);
Tailwind
colors: {
  custom: {
    50: '#7871c8',
    500: '#273caf',
    950: '#000000',
  },
}
SCSS
$custom: #273caf;
$custom-light: #7871c8;
$custom-dark: #000000;
JSON
{
  "hex": "#273caf",
  "rgb": {
    "r": 39,
    "g": 60,
    "b": 175
  },
  "hsl": {
    "h": 230.735,
    "s": 63.551,
    "l": 41.961
  },
  "oklch": {
    "l": 0.4207,
    "c": 0.18332,
    "h": 268.7
  },
  "luminance": 0.06758
}

Semantic roles & 50–950 ramp

primary
#273CAF
secondary
#C6B86B
accent
#CD41E7
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #273CAF

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

Preview Lab → · Contrast checker → · Palette generator →

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