#273799#273799

#273799 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.1% C 0.160 H 270.0°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#273799
RGBrgb(39, 55, 153)
HSLhsl(232, 59%, 38%)
HSVhsv(232, 75%, 60%)
CMYKcmyk(74.5%, 64.1%, 0%, 40%)
CIE-LABlab(28.01, 28.95, -55.35)
CIE-LCHlch(28.01, 62.47, 297.61°)
OKLaboklab(39.09% 0 -0.1599)
OKLCHoklch(39.09% 0.16 270)
XYZxyz(7.9507, 5.4628, 30.7662)
Luminance0.0546 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273799 #998927
analogous
#277099 #273799 #502799
triadic
#273799 #992737 #379927
tetradic
#273799 #992770 #998927 #279950
square
#273799 #992770 #998927 #279950
split-complementary
#273799 #995027 #709927
monochromatic
#0E1437 #1B2568 #273799 #3349CA #6373D7

Accessibility & contrast

On white

10.03
#273799 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#273799 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273799
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273799#FFFFFF#000000##FFFFFF
##2737991.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489C
Deuteranopia (green-blind)
#003D97
Tritanopia (blue-blind)
#005062
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #273799;
/* rgb */ color: rgb(39, 55, 153);
/* oklch */ color: oklch(39.1% 0.160 270.0);
Tailwind
colors: {
  custom: {
    50: '#736db8',
    500: '#273799',
    950: '#000000',
  },
}
SCSS
$custom: #273799;
$custom-light: #736db8;
$custom-dark: #000000;
JSON
{
  "hex": "#273799",
  "rgb": {
    "r": 39,
    "g": 55,
    "b": 153
  },
  "hsl": {
    "h": 231.579,
    "s": 59.375,
    "l": 37.647
  },
  "oklch": {
    "l": 0.39086,
    "c": 0.15995,
    "h": 270
  },
  "luminance": 0.05464
}

Semantic roles & 50–950 ramp

primary
#273799
secondary
#BDB05F
accent
#CC45E3
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #273799

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

Preview Lab → · Contrast checker → · Palette generator →

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