#274CA4#274CA4

#274CA4 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.3% C 0.149 H 264.1°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#274CA4
RGBrgb(39, 76, 164)
HSLhsl(222, 62%, 40%)
HSVhsv(222, 76%, 64%)
CMYKcmyk(76.2%, 53.7%, 0%, 35.7%)
CIE-LABlab(34.56, 19.06, -51.36)
CIE-LCHlch(34.56, 54.78, 290.36°)
OKLaboklab(44.26% -0.0154 -0.1479)
OKLCHoklch(44.26% 0.149 264.1)
XYZxyz(10.1196, 8.2794, 36.1795)
Luminance0.0828 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274CA4 #A47F27
analogous
#278BA4 #274CA4 #4127A4
triadic
#274CA4 #A4274C #4CA427
tetradic
#274CA4 #A4278B #A47F27 #27A441
square
#274CA4 #A4278B #A47F27 #27A441
split-complementary
#274CA4 #A44127 #8BA427
monochromatic
#0F1E41 #1B3573 #274CA4 #3865D0 #6A8CDC

Accessibility & contrast

On white

7.91
#274CA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#274CA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274CA4
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274CA4#FFFFFF#000000##FFFFFF
##274CA41.007.912.667.91
#FFFFFF7.911.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A57A7
Deuteranopia (green-blind)
#004CA2
Tritanopia (blue-blind)
#006170
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #274ca4;
/* rgb */ color: rgb(39, 76, 164);
/* oklch */ color: oklch(44.3% 0.149 264.1);
Tailwind
colors: {
  custom: {
    50: '#747dc0',
    500: '#274ca4',
    950: '#000000',
  },
}
SCSS
$custom: #274ca4;
$custom-light: #747dc0;
$custom-dark: #000000;
JSON
{
  "hex": "#274ca4",
  "rgb": {
    "r": 39,
    "g": 76,
    "b": 164
  },
  "hsl": {
    "h": 222.24,
    "s": 61.576,
    "l": 39.804
  },
  "oklch": {
    "l": 0.44259,
    "c": 0.1487,
    "h": 264.1
  },
  "luminance": 0.08281
}

Semantic roles & 50–950 ramp

primary
#274CA4
secondary
#C2A665
accent
#B543E5
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #274CA4

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

Preview Lab → · Contrast checker → · Palette generator →

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