#274174#274174

#274174 is a dark, moderate blue. Relative luminance 0.055; OKLCH L 38.2% C 0.093 H 262.5°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#274174
RGBrgb(39, 65, 116)
HSLhsl(220, 50%, 30%)
HSVhsv(220, 66%, 45%)
CMYKcmyk(66.4%, 44%, 0%, 54.5%)
CIE-LABlab(28.04, 7.90, -32.32)
CIE-LCHlch(28.04, 33.27, 283.74°)
OKLaboklab(38.22% -0.0122 -0.0921)
OKLCHoklch(38.22% 0.093 262.5)
XYZxyz(5.8783, 5.4723, 17.2661)
Luminance0.0547 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274174 #745A27
analogous
#276774 #274174 #332774
triadic
#274174 #742741 #417427
tetradic
#274174 #742767 #745A27 #277433
square
#274174 #742767 #745A27 #277433
split-complementary
#274174 #743327 #677427
monochromatic
#080E18 #182746 #274174 #365BA2 #5178C4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##274174#FFFFFF#000000##FFFFFF
##2741741.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)
#2A4676
Deuteranopia (green-blind)
#1E3F73
Tritanopia (blue-blind)
#004D54
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #274174;
/* rgb */ color: rgb(39, 65, 116);
/* oklch */ color: oklch(38.2% 0.093 262.5);
Tailwind
colors: {
  custom: {
    50: '#6a759c',
    500: '#274174',
    950: '#000000',
  },
}
SCSS
$custom: #274174;
$custom-light: #6a759c;
$custom-dark: #000000;
JSON
{
  "hex": "#274174",
  "rgb": {
    "r": 39,
    "g": 65,
    "b": 116
  },
  "hsl": {
    "h": 219.74,
    "s": 49.677,
    "l": 30.392
  },
  "oklch": {
    "l": 0.38222,
    "c": 0.09291,
    "h": 262.5
  },
  "luminance": 0.05473
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #274174

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

Preview Lab → · Contrast checker → · Palette generator →

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