#273B7F#273B7F

#273B7F is a dark, moderate blue. Relative luminance 0.051; OKLCH L 37.7% C 0.118 H 268.0°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#273B7F
RGBrgb(39, 59, 127)
HSLhsl(226, 53%, 33%)
HSVhsv(226, 69%, 50%)
CMYKcmyk(69.3%, 53.5%, 0%, 50.2%)
CIE-LABlab(26.99, 16.29, -40.93)
CIE-LCHlch(26.99, 44.05, 291.70°)
OKLaboklab(37.66% -0.0041 -0.1175)
OKLCHoklch(37.66% 0.118 268)
XYZxyz(6.2301, 5.0910, 20.7289)
Luminance0.0509 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273B7F #7F6B27
analogous
#27677F #273B7F #3F277F
triadic
#273B7F #7F273B #3B7F27
tetradic
#273B7F #7F2767 #7F6B27 #277F3F
square
#273B7F #7F2767 #7F6B27 #277F3F
split-complementary
#273B7F #7F3F27 #677F27
monochromatic
#0A0F21 #192550 #273B7F #3551AE #5570CB

Accessibility & contrast

On white

10.40
#273B7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#273B7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273B7F
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273B7F#FFFFFF#000000##FFFFFF
##273B7F1.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#114481
Deuteranopia (green-blind)
#003C7E
Tritanopia (blue-blind)
#004B57
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #273b7f;
/* rgb */ color: rgb(39, 59, 127);
/* oklch */ color: oklch(37.7% 0.118 268.0);
Tailwind
colors: {
  custom: {
    50: '#6c70a5',
    500: '#273b7f',
    950: '#000000',
  },
}
SCSS
$custom: #273b7f;
$custom-light: #6c70a5;
$custom-dark: #000000;
JSON
{
  "hex": "#273b7f",
  "rgb": {
    "r": 39,
    "g": 59,
    "b": 127
  },
  "hsl": {
    "h": 226.364,
    "s": 53.012,
    "l": 32.549
  },
  "oklch": {
    "l": 0.37661,
    "c": 0.11758,
    "h": 268
  },
  "luminance": 0.05092
}

Semantic roles & 50–950 ramp

primary
#273B7F
secondary
#B09A52
accent
#BB4BDC
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#08070F
muted
#7A7A7F

Preview Lab

Preview with #273B7F

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

Preview Lab → · Contrast checker → · Palette generator →

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