#274179#274179

#274179 is a dark, moderate blue. Relative luminance 0.056; OKLCH L 38.6% C 0.101 H 263.6°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#274179
RGBrgb(39, 65, 121)
HSLhsl(221, 51%, 31%)
HSVhsv(221, 68%, 47%)
CMYKcmyk(67.8%, 46.3%, 0%, 52.5%)
CIE-LABlab(28.36, 9.83, -34.97)
CIE-LCHlch(28.36, 36.32, 285.69°)
OKLaboklab(38.57% -0.0111 -0.0999)
OKLCHoklch(38.57% 0.101 263.6)
XYZxyz(6.1770, 5.5918, 18.8393)
Luminance0.0559 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274179 #795F27
analogous
#276A79 #274179 #362779
triadic
#274179 #792741 #417927
tetradic
#274179 #79276A #795F27 #277936
square
#274179 #79276A #795F27 #277936
split-complementary
#274179 #793627 #6A7927
monochromatic
#090F1C #18284B #274179 #365AA7 #5378C8

Accessibility & contrast

On white

9.91
#274179 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#274179 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274179
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274179#FFFFFF#000000##FFFFFF
##2741791.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26477B
Deuteranopia (green-blind)
#183F78
Tritanopia (blue-blind)
#004E57
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #274179;
/* rgb */ color: rgb(39, 65, 121);
/* oklch */ color: oklch(38.6% 0.101 263.6);
Tailwind
colors: {
  custom: {
    50: '#6b75a0',
    500: '#274179',
    950: '#000000',
  },
}
SCSS
$custom: #274179;
$custom-light: #6b75a0;
$custom-dark: #000000;
JSON
{
  "hex": "#274179",
  "rgb": {
    "r": 39,
    "g": 65,
    "b": 121
  },
  "hsl": {
    "h": 220.976,
    "s": 51.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.3857,
    "c": 0.1005,
    "h": 263.6
  },
  "luminance": 0.05592
}

Semantic roles & 50–950 ramp

primary
#274179
secondary
#AB8E51
accent
#AE4DDB
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07080F
muted
#7A7B7E

Preview Lab

Preview with #274179

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

Preview Lab → · Contrast checker → · Palette generator →

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