#273F8E#273F8E

#273F8E is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.7% C 0.134 H 267.2°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#273F8E
RGBrgb(39, 63, 142)
HSLhsl(226, 57%, 35%)
HSVhsv(226, 73%, 56%)
CMYKcmyk(72.5%, 55.6%, 0%, 44.3%)
CIE-LABlab(29.26, 19.34, -46.58)
CIE-LCHlch(29.26, 50.44, 292.54°)
OKLaboklab(39.73% -0.0065 -0.1341)
OKLCHoklch(39.73% 0.134 267.2)
XYZxyz(7.4950, 5.9386, 26.3372)
Luminance0.0594 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273F8E #8E7627
analogous
#27738E #273F8E #42278E
triadic
#273F8E #8E273F #3F8E27
tetradic
#273F8E #8E2773 #8E7627 #278E42
square
#273F8E #8E2773 #8E7627 #278E42
split-complementary
#273F8E #8E4227 #738E27
monochromatic
#0D142E #1A2A5E #273F8E #3454BE #5D78D2

Accessibility & contrast

On white

9.60
#273F8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#273F8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273F8E
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273F8E#FFFFFF#000000##FFFFFF
##273F8E1.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A91
Deuteranopia (green-blind)
#00408C
Tritanopia (blue-blind)
#005260
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #273f8e;
/* rgb */ color: rgb(39, 63, 142);
/* oklch */ color: oklch(39.7% 0.134 267.2);
Tailwind
colors: {
  custom: {
    50: '#6f73b0',
    500: '#273f8e',
    950: '#000000',
  },
}
SCSS
$custom: #273f8e;
$custom-light: #6f73b0;
$custom-dark: #000000;
JSON
{
  "hex": "#273f8e",
  "rgb": {
    "r": 39,
    "g": 63,
    "b": 142
  },
  "hsl": {
    "h": 226.019,
    "s": 56.906,
    "l": 35.49
  },
  "oklch": {
    "l": 0.39728,
    "c": 0.13425,
    "h": 267.2
  },
  "luminance": 0.05939
}

Semantic roles & 50–950 ramp

primary
#273F8E
secondary
#B8A259
accent
#BD48E0
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #273F8E

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

Preview Lab → · Contrast checker → · Palette generator →

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