#274CA1#274CA1

#274CA1 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.0% C 0.144 H 263.8°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#274CA1
RGBrgb(39, 76, 161)
HSLhsl(222, 61%, 39%)
HSVhsv(222, 76%, 63%)
CMYKcmyk(75.8%, 52.8%, 0%, 36.9%)
CIE-LABlab(34.34, 17.89, -49.91)
CIE-LCHlch(34.34, 53.02, 289.72°)
OKLaboklab(44.02% -0.0157 -0.1436)
OKLCHoklch(44.02% 0.145 263.8)
XYZxyz(9.8519, 8.1723, 34.7695)
Luminance0.0817 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274CA1 #A17C27
analogous
#2789A1 #274CA1 #3F27A1
triadic
#274CA1 #A1274C #4CA127
tetradic
#274CA1 #A12789 #A17C27 #27A13F
square
#274CA1 #A12789 #A17C27 #27A13F
split-complementary
#274CA1 #A13F27 #89A127
monochromatic
#0F1D3E #1B3570 #274CA1 #3765CE #688BDA

Accessibility & contrast

On white

7.97
#274CA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#274CA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274CA1
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274CA1#FFFFFF#000000##FFFFFF
##274CA11.007.972.637.97
#FFFFFF7.971.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1257A4
Deuteranopia (green-blind)
#004B9F
Tritanopia (blue-blind)
#00616F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #274ca1;
/* rgb */ color: rgb(39, 76, 161);
/* oklch */ color: oklch(44.0% 0.144 263.8);
Tailwind
colors: {
  custom: {
    50: '#737dbd',
    500: '#274ca1',
    950: '#000000',
  },
}
SCSS
$custom: #274ca1;
$custom-light: #737dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#274ca1",
  "rgb": {
    "r": 39,
    "g": 76,
    "b": 161
  },
  "hsl": {
    "h": 221.803,
    "s": 61,
    "l": 39.216
  },
  "oklch": {
    "l": 0.44023,
    "c": 0.1445,
    "h": 263.8
  },
  "luminance": 0.08173
}

Semantic roles & 50–950 ramp

primary
#274CA1
secondary
#C0A463
accent
#B344E4
background
#F7F7FB
surface
#EDEEF7
border
#C8C9D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #274CA1

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

Preview Lab → · Contrast checker → · Palette generator →

#274CA1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva