#273F9D#273F9D

#273F9D is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.0% C 0.155 H 267.9°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#273F9D
RGBrgb(39, 63, 157)
HSLhsl(228, 60%, 38%)
HSVhsv(228, 75%, 62%)
CMYKcmyk(75.2%, 59.9%, 0%, 38.4%)
CIE-LABlab(30.45, 25.11, -53.81)
CIE-LCHlch(30.45, 59.39, 295.02°)
OKLaboklab(41% -0.0058 -0.1553)
OKLCHoklch(41% 0.155 267.9)
XYZxyz(8.6979, 6.4197, 32.6725)
Luminance0.0642 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273F9D #9D8527
analogous
#277A9D #273F9D #4A279D
triadic
#273F9D #9D273F #3F9D27
tetradic
#273F9D #9D277A #9D8527 #279D4A
square
#273F9D #9D277A #9D8527 #279D4A
split-complementary
#273F9D #9D4A27 #7A9D27
monochromatic
#0F183B #1B2B6C #273F9D #3553CD #667DD9

Accessibility & contrast

On white

9.19
#273F9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #273F9D
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273F9D#FFFFFF#000000##FFFFFF
##273F9D1.009.192.289.19
#FFFFFF9.191.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA0
Deuteranopia (green-blind)
#00429B
Tritanopia (blue-blind)
#005767
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #273f9d;
/* rgb */ color: rgb(39, 63, 157);
/* oklch */ color: oklch(41.0% 0.155 267.9);
Tailwind
colors: {
  custom: {
    50: '#7373bb',
    500: '#273f9d',
    950: '#000000',
  },
}
SCSS
$custom: #273f9d;
$custom-light: #7373bb;
$custom-dark: #000000;
JSON
{
  "hex": "#273f9d",
  "rgb": {
    "r": 39,
    "g": 63,
    "b": 157
  },
  "hsl": {
    "h": 227.797,
    "s": 60.204,
    "l": 38.431
  },
  "oklch": {
    "l": 0.40995,
    "c": 0.15545,
    "h": 267.9
  },
  "luminance": 0.06421
}

Semantic roles & 50–950 ramp

primary
#273F9D
secondary
#BFAC61
accent
#C344E3
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #273F9D

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

Preview Lab → · Contrast checker → · Palette generator →

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