#273162#273162

#273162 is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.2% C 0.087 H 272.2°. Best body text is #FFFFFF at 12.34:1 contrast (WCAG AA passes).

Color values

HEX#273162
RGBrgb(39, 49, 98)
HSLhsl(230, 43%, 27%)
HSVhsv(230, 60%, 38%)
CMYKcmyk(60.2%, 50%, 0%, 61.6%)
CIE-LABlab(21.98, 12.21, -30.44)
CIE-LCHlch(21.98, 32.80, 291.85°)
OKLaboklab(33.2% 0.0033 -0.0868)
OKLCHoklch(33.2% 0.087 272.2)
XYZxyz(4.1389, 3.5095, 12.0122)
Luminance0.0351 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273162 #625827
analogous
#274F62 #273162 #3B2762
triadic
#273162 #622731 #316227
tetradic
#273162 #62274F #625827 #27623B
square
#273162 #62274F #625827 #27623B
split-complementary
#273162 #623B27 #4F6227
monochromatic
#090B16 #161B36 #273162 #38478E #4C5EB8

Accessibility & contrast

On white

12.34
#273162 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#273162 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273162
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273162#FFFFFF#000000##FFFFFF
##2731621.0012.341.7012.34
#FFFFFF12.341.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3764
Deuteranopia (green-blind)
#123261
Tritanopia (blue-blind)
#043C44
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #273162;
/* rgb */ color: rgb(39, 49, 98);
/* oklch */ color: oklch(33.2% 0.087 272.2);
Tailwind
colors: {
  custom: {
    50: '#67688f',
    500: '#273162',
    950: '#000000',
  },
}
SCSS
$custom: #273162;
$custom-light: #67688f;
$custom-dark: #000000;
JSON
{
  "hex": "#273162",
  "rgb": {
    "r": 39,
    "g": 49,
    "b": 98
  },
  "hsl": {
    "h": 229.831,
    "s": 43.066,
    "l": 26.863
  },
  "oklch": {
    "l": 0.33196,
    "c": 0.08686,
    "h": 272.2
  },
  "luminance": 0.0351
}

Semantic roles & 50–950 ramp

primary
#273162
secondary
#958950
accent
#BD55D3
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06060C
muted
#7A7A7D

Preview Lab

Preview with #273162

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

Preview Lab → · Contrast checker → · Palette generator →

#273162 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva