#273B7E#273B7E

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

Color values

HEX#273B7E
RGBrgb(39, 59, 126)
HSLhsl(226, 53%, 32%)
HSVhsv(226, 69%, 49%)
CMYKcmyk(69%, 53.2%, 0%, 50.6%)
CIE-LABlab(26.92, 15.90, -40.42)
CIE-LCHlch(26.92, 43.44, 291.47°)
OKLaboklab(37.58% -0.0042 -0.116)
OKLCHoklch(37.58% 0.116 267.9)
XYZxyz(6.1653, 5.0650, 20.3874)
Luminance0.0507 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273B7E #7E6A27
analogous
#27667E #273B7E #3F277E
triadic
#273B7E #7E273B #3B7E27
tetradic
#273B7E #7E2766 #7E6A27 #277E3F
square
#273B7E #7E2766 #7E6A27 #277E3F
split-complementary
#273B7E #7E3F27 #667E27
monochromatic
#0A0F21 #19254F #273B7E #3551AD #5570CA

Accessibility & contrast

On white

10.43
#273B7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#273B7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273B7E
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273B7E#FFFFFF#000000##FFFFFF
##273B7E1.0010.432.0110.43
#FFFFFF10.431.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134480
Deuteranopia (green-blind)
#003C7D
Tritanopia (blue-blind)
#004B56
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #273b7e;
/* rgb */ color: rgb(39, 59, 126);
/* oklch */ color: oklch(37.6% 0.116 267.9);
Tailwind
colors: {
  custom: {
    50: '#6c70a4',
    500: '#273b7e',
    950: '#000000',
  },
}
SCSS
$custom: #273b7e;
$custom-light: #6c70a4;
$custom-dark: #000000;
JSON
{
  "hex": "#273b7e",
  "rgb": {
    "r": 39,
    "g": 59,
    "b": 126
  },
  "hsl": {
    "h": 226.207,
    "s": 52.727,
    "l": 32.353
  },
  "oklch": {
    "l": 0.37582,
    "c": 0.11609,
    "h": 267.9
  },
  "luminance": 0.05066
}

Semantic roles & 50–950 ramp

primary
#273B7E
secondary
#AF9A52
accent
#BB4CDC
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #273B7E

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

Preview Lab → · Contrast checker → · Palette generator →

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