#273C95#273C95

#273C95 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.7% C 0.148 H 268.6°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#273C95
RGBrgb(39, 60, 149)
HSLhsl(229, 59%, 37%)
HSVhsv(229, 74%, 58%)
CMYKcmyk(73.8%, 59.7%, 0%, 41.6%)
CIE-LABlab(28.99, 24.08, -51.32)
CIE-LCHlch(28.99, 56.69, 295.13°)
OKLaboklab(39.7% -0.0037 -0.1481)
OKLCHoklch(39.7% 0.148 268.6)
XYZxyz(7.8755, 5.8322, 29.1386)
Luminance0.0583 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273C95 #958027
analogous
#277395 #273C95 #492795
triadic
#273C95 #95273C #3C9527
tetradic
#273C95 #952773 #958027 #279549
square
#273C95 #952773 #958027 #279549
split-complementary
#273C95 #954927 #739527
monochromatic
#0E1534 #1A2864 #273C95 #3450C6 #6177D6

Accessibility & contrast

On white

9.69
#273C95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#273C95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273C95
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273C95#FFFFFF#000000##FFFFFF
##273C951.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A98
Deuteranopia (green-blind)
#003F93
Tritanopia (blue-blind)
#005262
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #273c95;
/* rgb */ color: rgb(39, 60, 149);
/* oklch */ color: oklch(39.7% 0.148 268.6);
Tailwind
colors: {
  custom: {
    50: '#7171b5',
    500: '#273c95',
    950: '#000000',
  },
}
SCSS
$custom: #273c95;
$custom-light: #7171b5;
$custom-dark: #000000;
JSON
{
  "hex": "#273c95",
  "rgb": {
    "r": 39,
    "g": 60,
    "b": 149
  },
  "hsl": {
    "h": 228.545,
    "s": 58.511,
    "l": 36.863
  },
  "oklch": {
    "l": 0.39699,
    "c": 0.14811,
    "h": 268.6
  },
  "luminance": 0.05833
}

Semantic roles & 50–950 ramp

primary
#273C95
secondary
#BBA95D
accent
#C446E2
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #273C95

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

Preview Lab → · Contrast checker → · Palette generator →

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