#273C7B#273C7B

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

Color values

HEX#273C7B
RGBrgb(39, 60, 123)
HSLhsl(225, 52%, 32%)
HSVhsv(225, 68%, 48%)
CMYKcmyk(68.3%, 51.2%, 0%, 51.8%)
CIE-LABlab(27.00, 14.05, -38.41)
CIE-LCHlch(27.00, 40.90, 290.09°)
OKLaboklab(37.57% -0.0055 -0.1101)
OKLCHoklch(37.57% 0.11 267.1)
XYZxyz(6.0265, 5.0925, 19.4004)
Luminance0.0509 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273C7B #7B6627
analogous
#27667B #273C7B #3C277B
triadic
#273C7B #7B273C #3C7B27
tetradic
#273C7B #7B2766 #7B6627 #277B3C
square
#273C7B #7B2766 #7B6627 #277B3C
split-complementary
#273C7B #7B3C27 #667B27
monochromatic
#0A0F1E #18254D #273C7B #3653A9 #5471C9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##273C7B#FFFFFF#000000##FFFFFF
##273C7B1.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)
#1A447D
Deuteranopia (green-blind)
#043C7A
Tritanopia (blue-blind)
#004B55
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #273c7b;
/* rgb */ color: rgb(39, 60, 123);
/* oklch */ color: oklch(37.6% 0.110 267.1);
Tailwind
colors: {
  custom: {
    50: '#6b71a2',
    500: '#273c7b',
    950: '#000000',
  },
}
SCSS
$custom: #273c7b;
$custom-light: #6b71a2;
$custom-dark: #000000;
JSON
{
  "hex": "#273c7b",
  "rgb": {
    "r": 39,
    "g": 60,
    "b": 123
  },
  "hsl": {
    "h": 225,
    "s": 51.852,
    "l": 31.765
  },
  "oklch": {
    "l": 0.37572,
    "c": 0.11022,
    "h": 267.1
  },
  "luminance": 0.05093
}

Semantic roles & 50–950 ramp

primary
#273C7B
secondary
#AD9651
accent
#B84CDB
background
#F6F6FA
surface
#ECECF3
border
#C7C7CD
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #273C7B

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

Preview Lab → · Contrast checker → · Palette generator →

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