#273F71#273F71

#273F71 is a dark, moderate blue. Relative luminance 0.052; OKLCH L 37.5% C 0.091 H 263.4°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#273F71
RGBrgb(39, 63, 113)
HSLhsl(221, 49%, 30%)
HSVhsv(221, 65%, 44%)
CMYKcmyk(65.5%, 44.2%, 0%, 55.7%)
CIE-LABlab(27.24, 8.12, -31.70)
CIE-LCHlch(27.24, 32.73, 284.37°)
OKLaboklab(37.54% -0.0105 -0.0903)
OKLCHoklch(37.54% 0.091 263.4)
XYZxyz(5.5938, 5.1781, 16.3243)
Luminance0.0518 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273F71 #715927
analogous
#276471 #273F71 #342771
triadic
#273F71 #71273F #3F7127
tetradic
#273F71 #712764 #715927 #277134
square
#273F71 #712764 #715927 #277134
split-complementary
#273F71 #713427 #647127
monochromatic
#080D17 #172644 #273F71 #37589E #5075C3

Accessibility & contrast

On white

10.32
#273F71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#273F71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273F71
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273F71#FFFFFF#000000##FFFFFF
##273F711.0010.322.0410.32
#FFFFFF10.321.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284473
Deuteranopia (green-blind)
#1D3D70
Tritanopia (blue-blind)
#004A52
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #273f71;
/* rgb */ color: rgb(39, 63, 113);
/* oklch */ color: oklch(37.5% 0.091 263.4);
Tailwind
colors: {
  custom: {
    50: '#69739a',
    500: '#273f71',
    950: '#000000',
  },
}
SCSS
$custom: #273f71;
$custom-light: #69739a;
$custom-dark: #000000;
JSON
{
  "hex": "#273f71",
  "rgb": {
    "r": 39,
    "g": 63,
    "b": 113
  },
  "hsl": {
    "h": 220.541,
    "s": 48.684,
    "l": 29.804
  },
  "oklch": {
    "l": 0.37541,
    "c": 0.09093,
    "h": 263.4
  },
  "luminance": 0.05179
}

Semantic roles & 50–950 ramp

primary
#273F71
secondary
#A38850
accent
#AC50D8
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #273F71

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

Preview Lab → · Contrast checker → · Palette generator →

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