#273BA1#273BA1

#273BA1 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.6% C 0.166 H 269.0°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#273BA1
RGBrgb(39, 59, 161)
HSLhsl(230, 61%, 39%)
HSVhsv(230, 76%, 63%)
CMYKcmyk(75.8%, 63.4%, 0%, 36.9%)
CIE-LABlab(29.74, 29.30, -57.39)
CIE-LCHlch(29.74, 64.44, 297.05°)
OKLaboklab(40.58% -0.003 -0.1659)
OKLCHoklch(40.58% 0.166 269)
XYZxyz(8.8315, 6.1315, 34.4294)
Luminance0.0613 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273BA1 #A18D27
analogous
#2778A1 #273BA1 #5027A1
triadic
#273BA1 #A1273B #3BA127
tetradic
#273BA1 #A12778 #A18D27 #27A150
square
#273BA1 #A12778 #A18D27 #27A150
split-complementary
#273BA1 #A15027 #78A127
monochromatic
#0F173E #1B2970 #273BA1 #3750CE #687BDA

Accessibility & contrast

On white

9.43
#273BA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #273BA1
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273BA1#FFFFFF#000000##FFFFFF
##273BA11.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA4
Deuteranopia (green-blind)
#00409F
Tritanopia (blue-blind)
#005568
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #273ba1;
/* rgb */ color: rgb(39, 59, 161);
/* oklch */ color: oklch(40.6% 0.166 269.0);
Tailwind
colors: {
  custom: {
    50: '#7470be',
    500: '#273ba1',
    950: '#000000',
  },
}
SCSS
$custom: #273ba1;
$custom-light: #7470be;
$custom-dark: #000000;
JSON
{
  "hex": "#273ba1",
  "rgb": {
    "r": 39,
    "g": 59,
    "b": 161
  },
  "hsl": {
    "h": 230.164,
    "s": 61,
    "l": 39.216
  },
  "oklch": {
    "l": 0.40577,
    "c": 0.16591,
    "h": 269
  },
  "luminance": 0.06132
}

Semantic roles & 50–950 ramp

primary
#273BA1
secondary
#C0B163
accent
#CA44E4
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #273BA1

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

Preview Lab → · Contrast checker → · Palette generator →

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