#273DAF#273DAF

#273DAF is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.3% C 0.182 H 268.5°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#273DAF
RGBrgb(39, 61, 175)
HSLhsl(230, 64%, 42%)
HSVhsv(230, 78%, 69%)
CMYKcmyk(77.7%, 65.1%, 0%, 31.4%)
CIE-LABlab(31.49, 33.21, -62.93)
CIE-LCHlch(31.49, 71.16, 297.82°)
OKLaboklab(42.25% -0.0048 -0.1821)
OKLCHoklch(42.25% 0.182 268.5)
XYZxyz(10.2406, 6.8628, 41.3341)
Luminance0.0686 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273DAF #AF9927
analogous
#2781AF #273DAF #5527AF
triadic
#273DAF #AF273D #3DAF27
tetradic
#273DAF #AF2781 #AF9927 #27AF55
square
#273DAF #AF2781 #AF9927 #27AF55
split-complementary
#273DAF #AF5527 #81AF27
monochromatic
#111A4B #1C2C7D #273DAF #3F57D4 #7183DF

Accessibility & contrast

On white

8.85
#273DAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#273DAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273DAF
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273DAF#FFFFFF#000000##FFFFFF
##273DAF1.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B3
Deuteranopia (green-blind)
#0044AD
Tritanopia (blue-blind)
#005B70
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #273daf;
/* rgb */ color: rgb(39, 61, 175);
/* oklch */ color: oklch(42.3% 0.182 268.5);
Tailwind
colors: {
  custom: {
    50: '#7772c8',
    500: '#273daf',
    950: '#000000',
  },
}
SCSS
$custom: #273daf;
$custom-light: #7772c8;
$custom-dark: #000000;
JSON
{
  "hex": "#273daf",
  "rgb": {
    "r": 39,
    "g": 61,
    "b": 175
  },
  "hsl": {
    "h": 230.294,
    "s": 63.551,
    "l": 41.961
  },
  "oklch": {
    "l": 0.4225,
    "c": 0.18214,
    "h": 268.5
  },
  "luminance": 0.06864
}

Semantic roles & 50–950 ramp

primary
#273DAF
secondary
#C6B86B
accent
#CC41E7
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #273DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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