#273F8F#273F8F

#273F8F is a dark, vivid blue. Relative luminance 0.060; OKLCH L 39.8% C 0.136 H 267.3°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#273F8F
RGBrgb(39, 63, 143)
HSLhsl(226, 57%, 36%)
HSVhsv(226, 73%, 56%)
CMYKcmyk(72.7%, 55.9%, 0%, 43.9%)
CIE-LABlab(29.33, 19.73, -47.08)
CIE-LCHlch(29.33, 51.04, 292.73°)
OKLaboklab(39.81% -0.0064 -0.1355)
OKLCHoklch(39.81% 0.136 267.3)
XYZxyz(7.5704, 5.9687, 26.7344)
Luminance0.0597 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273F8F #8F7727
analogous
#27738F #273F8F #43278F
triadic
#273F8F #8F273F #3F8F27
tetradic
#273F8F #8F2773 #8F7727 #278F43
square
#273F8F #8F2773 #8F7727 #278F43
split-complementary
#273F8F #8F4327 #738F27
monochromatic
#0D152F #1A2A5F #273F8F #3454BF #5D79D3

Accessibility & contrast

On white

9.57
#273F8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #273F8F
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273F8F#FFFFFF#000000##FFFFFF
##273F8F1.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A92
Deuteranopia (green-blind)
#00418D
Tritanopia (blue-blind)
#005260
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #273f8f;
/* rgb */ color: rgb(39, 63, 143);
/* oklch */ color: oklch(39.8% 0.136 267.3);
Tailwind
colors: {
  custom: {
    50: '#7073b0',
    500: '#273f8f',
    950: '#000000',
  },
}
SCSS
$custom: #273f8f;
$custom-light: #7073b0;
$custom-dark: #000000;
JSON
{
  "hex": "#273f8f",
  "rgb": {
    "r": 39,
    "g": 63,
    "b": 143
  },
  "hsl": {
    "h": 226.154,
    "s": 57.143,
    "l": 35.686
  },
  "oklch": {
    "l": 0.3981,
    "c": 0.13568,
    "h": 267.3
  },
  "luminance": 0.0597
}

Semantic roles & 50–950 ramp

primary
#273F8F
secondary
#B8A25A
accent
#BD47E0
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#080811
muted
#7B7B80

Preview Lab

Preview with #273F8F

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

Preview Lab → · Contrast checker → · Palette generator →

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