#273F8A#273F8A

#273F8A is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.4% C 0.128 H 267.0°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#273F8A
RGBrgb(39, 63, 138)
HSLhsl(225, 56%, 35%)
HSVhsv(225, 72%, 54%)
CMYKcmyk(71.7%, 54.3%, 0%, 45.9%)
CIE-LABlab(28.96, 17.79, -44.61)
CIE-LCHlch(28.96, 48.02, 291.74°)
OKLaboklab(39.41% -0.0068 -0.1283)
OKLCHoklch(39.41% 0.128 267)
XYZxyz(7.2001, 5.8206, 24.7839)
Luminance0.0582 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273F8A #8A7227
analogous
#27708A #273F8A #41278A
triadic
#273F8A #8A273F #3F8A27
tetradic
#273F8A #8A2770 #8A7227 #278A41
square
#273F8A #8A2770 #8A7227 #278A41
split-complementary
#273F8A #8A4127 #708A27
monochromatic
#0C132B #1A295A #273F8A #3455BA #5B77D1

Accessibility & contrast

On white

9.70
#273F8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#273F8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273F8A
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273F8A#FFFFFF#000000##FFFFFF
##273F8A1.009.702.169.70
#FFFFFF9.701.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B498D
Deuteranopia (green-blind)
#004088
Tritanopia (blue-blind)
#00515E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #273f8a;
/* rgb */ color: rgb(39, 63, 138);
/* oklch */ color: oklch(39.4% 0.128 267.0);
Tailwind
colors: {
  custom: {
    50: '#6e73ad',
    500: '#273f8a',
    950: '#000000',
  },
}
SCSS
$custom: #273f8a;
$custom-light: #6e73ad;
$custom-dark: #000000;
JSON
{
  "hex": "#273f8a",
  "rgb": {
    "r": 39,
    "g": 63,
    "b": 138
  },
  "hsl": {
    "h": 225.455,
    "s": 55.932,
    "l": 34.706
  },
  "oklch": {
    "l": 0.39405,
    "c": 0.12844,
    "h": 267
  },
  "luminance": 0.05821
}

Semantic roles & 50–950 ramp

primary
#273F8A
secondary
#B69F57
accent
#BB49DF
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #273F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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