#274170#274170

#274170 is a dark, moderate blue. Relative luminance 0.054; OKLCH L 38.0% C 0.087 H 261.3°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#274170
RGBrgb(39, 65, 112)
HSLhsl(219, 48%, 30%)
HSVhsv(219, 65%, 44%)
CMYKcmyk(65.2%, 42%, 0%, 56.1%)
CIE-LABlab(27.79, 6.37, -30.18)
CIE-LCHlch(27.79, 30.84, 281.93°)
OKLaboklab(37.95% -0.0131 -0.0858)
OKLCHoklch(37.95% 0.087 261.3)
XYZxyz(5.6506, 5.3813, 16.0670)
Luminance0.0538 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274170 #705627
analogous
#276670 #274170 #322770
triadic
#274170 #702741 #417027
tetradic
#274170 #702766 #705627 #277032
square
#274170 #702766 #705627 #277032
split-complementary
#274170 #703227 #667027
monochromatic
#080D17 #172743 #274170 #375B9D #5078C2

Accessibility & contrast

On white

10.11
#274170 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#274170 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274170
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274170#FFFFFF#000000##FFFFFF
##2741701.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4572
Deuteranopia (green-blind)
#223E6F
Tritanopia (blue-blind)
#004C53
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #274170;
/* rgb */ color: rgb(39, 65, 112);
/* oklch */ color: oklch(38.0% 0.087 261.3);
Tailwind
colors: {
  custom: {
    50: '#697599',
    500: '#274170',
    950: '#000000',
  },
}
SCSS
$custom: #274170;
$custom-light: #697599;
$custom-dark: #000000;
JSON
{
  "hex": "#274170",
  "rgb": {
    "r": 39,
    "g": 65,
    "b": 112
  },
  "hsl": {
    "h": 218.63,
    "s": 48.344,
    "l": 29.608
  },
  "oklch": {
    "l": 0.37952,
    "c": 0.08682,
    "h": 261.3
  },
  "luminance": 0.05382
}

Semantic roles & 50–950 ramp

primary
#274170
secondary
#A28550
accent
#A750D8
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #274170

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

Preview Lab → · Contrast checker → · Palette generator →

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