#273FAF#273FAF

#273FAF is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.6% C 0.180 H 268.1°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#273FAF
RGBrgb(39, 63, 175)
HSLhsl(229, 64%, 42%)
HSVhsv(229, 78%, 69%)
CMYKcmyk(77.7%, 64%, 0%, 31.4%)
CIE-LABlab(31.99, 31.91, -62.12)
CIE-LCHlch(31.99, 69.83, 297.19°)
OKLaboklab(42.61% -0.0059 -0.1797)
OKLCHoklch(42.61% 0.18 268.1)
XYZxyz(10.3494, 7.0803, 41.3703)
Luminance0.0708 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273FAF #AF9727
analogous
#2783AF #273FAF #5327AF
triadic
#273FAF #AF273F #3FAF27
tetradic
#273FAF #AF2783 #AF9727 #27AF53
square
#273FAF #AF2783 #AF9727 #27AF53
split-complementary
#273FAF #AF5327 #83AF27
monochromatic
#111B4B #1C2D7D #273FAF #3F59D4 #7185DF

Accessibility & contrast

On white

8.69
#273FAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#273FAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273FAF
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273FAF#FFFFFF#000000##FFFFFF
##273FAF1.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B3
Deuteranopia (green-blind)
#0045AD
Tritanopia (blue-blind)
#005C71
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #273faf;
/* rgb */ color: rgb(39, 63, 175);
/* oklch */ color: oklch(42.6% 0.180 268.1);
Tailwind
colors: {
  custom: {
    50: '#7774c8',
    500: '#273faf',
    950: '#000000',
  },
}
SCSS
$custom: #273faf;
$custom-light: #7774c8;
$custom-dark: #000000;
JSON
{
  "hex": "#273faf",
  "rgb": {
    "r": 39,
    "g": 63,
    "b": 175
  },
  "hsl": {
    "h": 229.412,
    "s": 63.551,
    "l": 41.961
  },
  "oklch": {
    "l": 0.42615,
    "c": 0.17978,
    "h": 268.1
  },
  "luminance": 0.07081
}

Semantic roles & 50–950 ramp

primary
#273FAF
secondary
#C6B66B
accent
#C941E7
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #273FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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