#273A7B#273A7B

#273A7B is a dark, moderate blue. Relative luminance 0.049; OKLCH L 37.1% C 0.113 H 268.2°. Best body text is #FFFFFF at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#273A7B
RGBrgb(39, 58, 123)
HSLhsl(226, 52%, 32%)
HSVhsv(226, 68%, 48%)
CMYKcmyk(68.3%, 52.8%, 0%, 51.8%)
CIE-LABlab(26.41, 15.44, -39.35)
CIE-LCHlch(26.41, 42.27, 291.42°)
OKLaboklab(37.13% -0.0035 -0.1129)
OKLCHoklch(37.13% 0.113 268.2)
XYZxyz(5.9237, 4.8870, 19.3662)
Luminance0.0489 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273A7B #7B6827
analogous
#27647B #273A7B #3E277B
triadic
#273A7B #7B273A #3A7B27
tetradic
#273A7B #7B2764 #7B6827 #277B3E
square
#273A7B #7B2764 #7B6827 #277B3E
split-complementary
#273A7B #7B3E27 #647B27
monochromatic
#0A0E1E #18244D #273A7B #3650A9 #546EC9

Accessibility & contrast

On white

10.62
#273A7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#273A7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273A7B
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273A7B#FFFFFF#000000##FFFFFF
##273A7B1.0010.621.9810.62
#FFFFFF10.621.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14427D
Deuteranopia (green-blind)
#003B7A
Tritanopia (blue-blind)
#004954
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #273a7b;
/* rgb */ color: rgb(39, 58, 123);
/* oklch */ color: oklch(37.1% 0.113 268.2);
Tailwind
colors: {
  custom: {
    50: '#6b6fa2',
    500: '#273a7b',
    950: '#000000',
  },
}
SCSS
$custom: #273a7b;
$custom-light: #6b6fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#273a7b",
  "rgb": {
    "r": 39,
    "g": 58,
    "b": 123
  },
  "hsl": {
    "h": 226.429,
    "s": 51.852,
    "l": 31.765
  },
  "oklch": {
    "l": 0.37126,
    "c": 0.11294,
    "h": 268.2
  },
  "luminance": 0.04888
}

Semantic roles & 50–950 ramp

primary
#273A7B
secondary
#AD9851
accent
#BB4CDB
background
#F6F6FA
surface
#ECECF3
border
#C7C7CD
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #273A7B

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

Preview Lab → · Contrast checker → · Palette generator →

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