#273262#273262

#273262 is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.4% C 0.085 H 271.4°. Best body text is #FFFFFF at 12.22:1 contrast (WCAG AA passes).

Color values

HEX#273262
RGBrgb(39, 50, 98)
HSLhsl(229, 43%, 27%)
HSVhsv(229, 60%, 38%)
CMYKcmyk(60.2%, 49%, 0%, 61.6%)
CIE-LABlab(22.28, 11.50, -29.96)
CIE-LCHlch(22.28, 32.09, 291.00°)
OKLaboklab(33.43% 0.0021 -0.0854)
OKLCHoklch(33.43% 0.085 271.4)
XYZxyz(4.1812, 3.5941, 12.0263)
Luminance0.0359 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273262 #625727
analogous
#275062 #273262 #3A2762
triadic
#273262 #622732 #326227
tetradic
#273262 #622750 #625727 #27623A
square
#273262 #622750 #625727 #27623A
split-complementary
#273262 #623A27 #506227
monochromatic
#090B16 #161C36 #273262 #38488E #4C60B8

Accessibility & contrast

On white

12.22
#273262 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#273262 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273262
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273262#FFFFFF#000000##FFFFFF
##2732621.0012.221.7212.22
#FFFFFF12.221.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C3864
Deuteranopia (green-blind)
#143361
Tritanopia (blue-blind)
#043D45
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #273262;
/* rgb */ color: rgb(39, 50, 98);
/* oklch */ color: oklch(33.4% 0.085 271.4);
Tailwind
colors: {
  custom: {
    50: '#67698f',
    500: '#273262',
    950: '#000000',
  },
}
SCSS
$custom: #273262;
$custom-light: #67698f;
$custom-dark: #000000;
JSON
{
  "hex": "#273262",
  "rgb": {
    "r": 39,
    "g": 50,
    "b": 98
  },
  "hsl": {
    "h": 228.814,
    "s": 43.066,
    "l": 26.863
  },
  "oklch": {
    "l": 0.33426,
    "c": 0.0854,
    "h": 271.4
  },
  "luminance": 0.03594
}

Semantic roles & 50–950 ramp

primary
#273262
secondary
#958850
accent
#BB55D3
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06060C
muted
#7A7A7D

Preview Lab

Preview with #273262

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

Preview Lab → · Contrast checker → · Palette generator →

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