#273BA5#273BA5

#273BA5 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.9% C 0.171 H 269.0°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#273BA5
RGBrgb(39, 59, 165)
HSLhsl(230, 62%, 40%)
HSVhsv(230, 76%, 65%)
CMYKcmyk(76.4%, 64.2%, 0%, 35.3%)
CIE-LABlab(30.10, 30.80, -59.23)
CIE-LCHlch(30.10, 66.76, 297.48°)
OKLaboklab(40.95% -0.0031 -0.1713)
OKLCHoklch(40.95% 0.171 269)
XYZxyz(9.1899, 6.2749, 36.3169)
Luminance0.0628 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273BA5 #A59127
analogous
#277AA5 #273BA5 #5227A5
triadic
#273BA5 #A5273B #3BA527
tetradic
#273BA5 #A5277A #A59127 #27A552
square
#273BA5 #A5277A #A59127 #27A552
split-complementary
#273BA5 #A55227 #7AA527
monochromatic
#101842 #1B2974 #273BA5 #3951D0 #6A7DDC

Accessibility & contrast

On white

9.31
#273BA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#273BA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273BA5
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273BA5#FFFFFF#000000##FFFFFF
##273BA51.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA8
Deuteranopia (green-blind)
#0041A3
Tritanopia (blue-blind)
#00576A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #273ba5;
/* rgb */ color: rgb(39, 59, 165);
/* oklch */ color: oklch(40.9% 0.171 269.0);
Tailwind
colors: {
  custom: {
    50: '#7570c1',
    500: '#273ba5',
    950: '#000000',
  },
}
SCSS
$custom: #273ba5;
$custom-light: #7570c1;
$custom-dark: #000000;
JSON
{
  "hex": "#273ba5",
  "rgb": {
    "r": 39,
    "g": 59,
    "b": 165
  },
  "hsl": {
    "h": 230.476,
    "s": 61.765,
    "l": 40
  },
  "oklch": {
    "l": 0.40947,
    "c": 0.17128,
    "h": 269
  },
  "luminance": 0.06276
}

Semantic roles & 50–950 ramp

primary
#273BA5
secondary
#C2B466
accent
#CB43E5
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #273BA5

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

Preview Lab → · Contrast checker → · Palette generator →

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