#273E7F#273E7F

#273E7F is a dark, moderate blue. Relative luminance 0.054; OKLCH L 38.3% C 0.114 H 266.4°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#273E7F
RGBrgb(39, 62, 127)
HSLhsl(224, 53%, 33%)
HSVhsv(224, 69%, 50%)
CMYKcmyk(69.3%, 51.2%, 0%, 50.2%)
CIE-LABlab(27.87, 14.21, -39.52)
CIE-LCHlch(27.87, 42.00, 289.78°)
OKLaboklab(38.32% -0.0071 -0.1133)
OKLCHoklch(38.32% 0.114 266.4)
XYZxyz(6.3888, 5.4083, 20.7818)
Luminance0.0541 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273E7F #7F6827
analogous
#276A7F #273E7F #3C277F
triadic
#273E7F #7F273E #3E7F27
tetradic
#273E7F #7F276A #7F6827 #277F3C
square
#273E7F #7F276A #7F6827 #277F3C
split-complementary
#273E7F #7F3C27 #6A7F27
monochromatic
#0A1021 #192750 #273E7F #3555AE #5574CB

Accessibility & contrast

On white

10.09
#273E7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#273E7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273E7F
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273E7F#FFFFFF#000000##FFFFFF
##273E7F1.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4681
Deuteranopia (green-blind)
#023E7E
Tritanopia (blue-blind)
#004D58
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #273e7f;
/* rgb */ color: rgb(39, 62, 127);
/* oklch */ color: oklch(38.3% 0.114 266.4);
Tailwind
colors: {
  custom: {
    50: '#6c72a5',
    500: '#273e7f',
    950: '#000000',
  },
}
SCSS
$custom: #273e7f;
$custom-light: #6c72a5;
$custom-dark: #000000;
JSON
{
  "hex": "#273e7f",
  "rgb": {
    "r": 39,
    "g": 62,
    "b": 127
  },
  "hsl": {
    "h": 224.318,
    "s": 53.012,
    "l": 32.549
  },
  "oklch": {
    "l": 0.38325,
    "c": 0.11353,
    "h": 266.4
  },
  "luminance": 0.05409
}

Semantic roles & 50–950 ramp

primary
#273E7F
secondary
#B09752
accent
#B74BDC
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #273E7F

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

Preview Lab → · Contrast checker → · Palette generator →

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