#274173#274173

#274173 is a dark, moderate blue. Relative luminance 0.054; OKLCH L 38.2% C 0.091 H 262.2°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#274173
RGBrgb(39, 65, 115)
HSLhsl(219, 49%, 30%)
HSVhsv(219, 66%, 45%)
CMYKcmyk(66.1%, 43.5%, 0%, 54.9%)
CIE-LABlab(27.98, 7.52, -31.79)
CIE-LCHlch(27.98, 32.67, 283.31°)
OKLaboklab(38.15% -0.0124 -0.0905)
OKLCHoklch(38.15% 0.091 262.2)
XYZxyz(5.8204, 5.4492, 16.9614)
Luminance0.0545 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274173 #735927
analogous
#276773 #274173 #332773
triadic
#274173 #732741 #417327
tetradic
#274173 #732767 #735927 #277333
square
#274173 #732767 #735927 #277333
split-complementary
#274173 #733327 #677327
monochromatic
#080D18 #182745 #274173 #365BA1 #5178C4

Accessibility & contrast

On white

10.05
#274173 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #274173
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274173#FFFFFF#000000##FFFFFF
##2741731.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4675
Deuteranopia (green-blind)
#1F3F72
Tritanopia (blue-blind)
#004C54
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #274173;
/* rgb */ color: rgb(39, 65, 115);
/* oklch */ color: oklch(38.2% 0.091 262.2);
Tailwind
colors: {
  custom: {
    50: '#69759b',
    500: '#274173',
    950: '#000000',
  },
}
SCSS
$custom: #274173;
$custom-light: #69759b;
$custom-dark: #000000;
JSON
{
  "hex": "#274173",
  "rgb": {
    "r": 39,
    "g": 65,
    "b": 115
  },
  "hsl": {
    "h": 219.474,
    "s": 49.351,
    "l": 30.196
  },
  "oklch": {
    "l": 0.38154,
    "c": 0.09139,
    "h": 262.2
  },
  "luminance": 0.0545
}

Semantic roles & 50–950 ramp

primary
#274173
secondary
#A58850
accent
#AA4FD9
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #274173

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

Preview Lab → · Contrast checker → · Palette generator →

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