#273BAD#273BAD

#273BAD is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.7% C 0.182 H 268.9°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#273BAD
RGBrgb(39, 59, 173)
HSLhsl(231, 63%, 42%)
HSVhsv(231, 77%, 68%)
CMYKcmyk(77.5%, 65.9%, 0%, 32.2%)
CIE-LABlab(30.82, 33.77, -62.84)
CIE-LCHlch(30.82, 71.34, 298.25°)
OKLaboklab(41.7% -0.0035 -0.1818)
OKLCHoklch(41.7% 0.182 268.9)
XYZxyz(9.9409, 6.5753, 40.2723)
Luminance0.0658 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273BAD #AD9927
analogous
#277EAD #273BAD #5627AD
triadic
#273BAD #AD273B #3BAD27
tetradic
#273BAD #AD277E #AD9927 #27AD56
square
#273BAD #AD277E #AD9927 #27AD56
split-complementary
#273BAD #AD5627 #7EAD27
monochromatic
#101949 #1C2A7B #273BAD #3E54D3 #7080DF

Accessibility & contrast

On white

9.07
#273BAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#273BAD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273BAD
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273BAD#FFFFFF#000000##FFFFFF
##273BAD1.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB1
Deuteranopia (green-blind)
#0042AB
Tritanopia (blue-blind)
#00596E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #273bad;
/* rgb */ color: rgb(39, 59, 173);
/* oklch */ color: oklch(41.7% 0.182 268.9);
Tailwind
colors: {
  custom: {
    50: '#7771c6',
    500: '#273bad',
    950: '#000000',
  },
}
SCSS
$custom: #273bad;
$custom-light: #7771c6;
$custom-dark: #000000;
JSON
{
  "hex": "#273bad",
  "rgb": {
    "r": 39,
    "g": 59,
    "b": 173
  },
  "hsl": {
    "h": 231.045,
    "s": 63.208,
    "l": 41.569
  },
  "oklch": {
    "l": 0.41701,
    "c": 0.18186,
    "h": 268.9
  },
  "luminance": 0.06576
}

Semantic roles & 50–950 ramp

primary
#273BAD
secondary
#C6B86A
accent
#CE42E6
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #273BAD

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

Preview Lab → · Contrast checker → · Palette generator →

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