#273BA2#273BA2

#273BA2 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.7% C 0.167 H 269.0°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#273BA2
RGBrgb(39, 59, 162)
HSLhsl(230, 61%, 39%)
HSVhsv(230, 76%, 64%)
CMYKcmyk(75.9%, 63.6%, 0%, 36.5%)
CIE-LABlab(29.83, 29.68, -57.85)
CIE-LCHlch(29.83, 65.02, 297.16°)
OKLaboklab(40.67% -0.003 -0.1672)
OKLCHoklch(40.67% 0.167 269)
XYZxyz(8.9200, 6.1669, 34.8956)
Luminance0.0617 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273BA2 #A28E27
analogous
#2779A2 #273BA2 #5127A2
triadic
#273BA2 #A2273B #3BA227
tetradic
#273BA2 #A22779 #A28E27 #27A251
square
#273BA2 #A22779 #A28E27 #27A251
split-complementary
#273BA2 #A25127 #79A227
monochromatic
#0F173F #1B2971 #273BA2 #3750CF #697BDB

Accessibility & contrast

On white

9.40
#273BA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#273BA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273BA2
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273BA2#FFFFFF#000000##FFFFFF
##273BA21.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA5
Deuteranopia (green-blind)
#0041A0
Tritanopia (blue-blind)
#005669
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #273ba2;
/* rgb */ color: rgb(39, 59, 162);
/* oklch */ color: oklch(40.7% 0.167 269.0);
Tailwind
colors: {
  custom: {
    50: '#7470be',
    500: '#273ba2',
    950: '#000000',
  },
}
SCSS
$custom: #273ba2;
$custom-light: #7470be;
$custom-dark: #000000;
JSON
{
  "hex": "#273ba2",
  "rgb": {
    "r": 39,
    "g": 59,
    "b": 162
  },
  "hsl": {
    "h": 230.244,
    "s": 61.194,
    "l": 39.412
  },
  "oklch": {
    "l": 0.40669,
    "c": 0.16726,
    "h": 269
  },
  "luminance": 0.06168
}

Semantic roles & 50–950 ramp

primary
#273BA2
secondary
#C1B264
accent
#CA43E4
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #273BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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