#273F8B#273F8B

#273F8B is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.5% C 0.130 H 267.0°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#273F8B
RGBrgb(39, 63, 139)
HSLhsl(226, 56%, 35%)
HSVhsv(226, 72%, 55%)
CMYKcmyk(71.9%, 54.7%, 0%, 45.5%)
CIE-LABlab(29.03, 18.18, -45.10)
CIE-LCHlch(29.03, 48.63, 291.95°)
OKLaboklab(39.49% -0.0067 -0.1297)
OKLCHoklch(39.49% 0.13 267)
XYZxyz(7.2728, 5.8497, 25.1669)
Luminance0.0585 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273F8B #8B7327
analogous
#27718B #273F8B #41278B
triadic
#273F8B #8B273F #3F8B27
tetradic
#273F8B #8B2771 #8B7327 #278B41
square
#273F8B #8B2771 #8B7327 #278B41
split-complementary
#273F8B #8B4127 #718B27
monochromatic
#0C142B #1A295B #273F8B #3455BB #5B78D1

Accessibility & contrast

On white

9.68
#273F8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #273F8B
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273F8B#FFFFFF#000000##FFFFFF
##273F8B1.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08498E
Deuteranopia (green-blind)
#004089
Tritanopia (blue-blind)
#00515E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #273f8b;
/* rgb */ color: rgb(39, 63, 139);
/* oklch */ color: oklch(39.5% 0.130 267.0);
Tailwind
colors: {
  custom: {
    50: '#6f73ad',
    500: '#273f8b',
    950: '#000000',
  },
}
SCSS
$custom: #273f8b;
$custom-light: #6f73ad;
$custom-dark: #000000;
JSON
{
  "hex": "#273f8b",
  "rgb": {
    "r": 39,
    "g": 63,
    "b": 139
  },
  "hsl": {
    "h": 225.6,
    "s": 56.18,
    "l": 34.902
  },
  "oklch": {
    "l": 0.39485,
    "c": 0.1299,
    "h": 267
  },
  "luminance": 0.0585
}

Semantic roles & 50–950 ramp

primary
#273F8B
secondary
#B69F58
accent
#BB48DF
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #273F8B

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

Preview Lab → · Contrast checker → · Palette generator →

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