#273CA5#273CA5

#273CA5 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.1% C 0.170 H 268.7°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#273CA5
RGBrgb(39, 60, 165)
HSLhsl(230, 62%, 40%)
HSVhsv(230, 76%, 65%)
CMYKcmyk(76.4%, 63.6%, 0%, 35.3%)
CIE-LABlab(30.35, 30.14, -58.81)
CIE-LCHlch(30.35, 66.09, 297.13°)
OKLaboklab(41.13% -0.0038 -0.17)
OKLCHoklch(41.13% 0.17 268.7)
XYZxyz(9.2417, 6.3787, 36.3342)
Luminance0.0638 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273CA5 #A59027
analogous
#277BA5 #273CA5 #5127A5
triadic
#273CA5 #A5273C #3CA527
tetradic
#273CA5 #A5277B #A59027 #27A551
square
#273CA5 #A5277B #A59027 #27A551
split-complementary
#273CA5 #A55127 #7BA527
monochromatic
#101842 #1B2A74 #273CA5 #3952D0 #6A7DDC

Accessibility & contrast

On white

9.23
#273CA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#273CA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273CA5
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273CA5#FFFFFF#000000##FFFFFF
##273CA51.009.232.289.23
#FFFFFF9.231.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #273ca5;
/* rgb */ color: rgb(39, 60, 165);
/* oklch */ color: oklch(41.1% 0.170 268.7);
Tailwind
colors: {
  custom: {
    50: '#7571c1',
    500: '#273ca5',
    950: '#000000',
  },
}
SCSS
$custom: #273ca5;
$custom-light: #7571c1;
$custom-dark: #000000;
JSON
{
  "hex": "#273ca5",
  "rgb": {
    "r": 39,
    "g": 60,
    "b": 165
  },
  "hsl": {
    "h": 230,
    "s": 61.765,
    "l": 40
  },
  "oklch": {
    "l": 0.41133,
    "c": 0.17007,
    "h": 268.7
  },
  "luminance": 0.0638
}

Semantic roles & 50–950 ramp

primary
#273CA5
secondary
#C2B366
accent
#CA43E5
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #273CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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