#273BAF#273BAF

#273BAF is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.9% C 0.184 H 268.9°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#273BAF
RGBrgb(39, 59, 175)
HSLhsl(231, 64%, 42%)
HSVhsv(231, 78%, 69%)
CMYKcmyk(77.7%, 66.3%, 0%, 31.4%)
CIE-LABlab(31.00, 34.50, -63.73)
CIE-LCHlch(31.00, 72.47, 298.43°)
OKLaboklab(41.89% -0.0036 -0.1844)
OKLCHoklch(41.89% 0.184 268.9)
XYZxyz(10.1359, 6.6533, 41.2991)
Luminance0.0665 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273BAF #AF9B27
analogous
#277FAF #273BAF #5727AF
triadic
#273BAF #AF273B #3BAF27
tetradic
#273BAF #AF277F #AF9B27 #27AF57
square
#273BAF #AF277F #AF9B27 #27AF57
split-complementary
#273BAF #AF5727 #7FAF27
monochromatic
#11194B #1C2A7D #273BAF #3F55D4 #7181DF

Accessibility & contrast

On white

9.01
#273BAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#273BAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273BAF
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273BAF#FFFFFF#000000##FFFFFF
##273BAF1.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B3
Deuteranopia (green-blind)
#0043AD
Tritanopia (blue-blind)
#005A70
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #273baf;
/* rgb */ color: rgb(39, 59, 175);
/* oklch */ color: oklch(41.9% 0.184 268.9);
Tailwind
colors: {
  custom: {
    50: '#7871c8',
    500: '#273baf',
    950: '#000000',
  },
}
SCSS
$custom: #273baf;
$custom-light: #7871c8;
$custom-dark: #000000;
JSON
{
  "hex": "#273baf",
  "rgb": {
    "r": 39,
    "g": 59,
    "b": 175
  },
  "hsl": {
    "h": 231.176,
    "s": 63.551,
    "l": 41.961
  },
  "oklch": {
    "l": 0.41892,
    "c": 0.18448,
    "h": 268.9
  },
  "luminance": 0.06654
}

Semantic roles & 50–950 ramp

primary
#273BAF
secondary
#C6B96B
accent
#CE41E7
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #273BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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