#274AA4#274AA4

#274AA4 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 43.8% C 0.151 H 264.8°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#274AA4
RGBrgb(39, 74, 164)
HSLhsl(223, 62%, 40%)
HSVhsv(223, 76%, 64%)
CMYKcmyk(76.2%, 54.9%, 0%, 35.7%)
CIE-LABlab(34.00, 20.40, -52.26)
CIE-LCHlch(34.00, 56.10, 291.32°)
OKLaboklab(43.84% -0.0138 -0.1506)
OKLCHoklch(43.84% 0.151 264.8)
XYZxyz(9.9840, 8.0081, 36.1343)
Luminance0.0801 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274AA4 #A48127
analogous
#2789A4 #274AA4 #4327A4
triadic
#274AA4 #A4274A #4AA427
tetradic
#274AA4 #A42789 #A48127 #27A443
square
#274AA4 #A42789 #A48127 #27A443
split-complementary
#274AA4 #A44327 #89A427
monochromatic
#0F1D41 #1B3473 #274AA4 #3863D0 #6A8ADC

Accessibility & contrast

On white

8.07
#274AA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#274AA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274AA4
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274AA4#FFFFFF#000000##FFFFFF
##274AA41.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056A7
Deuteranopia (green-blind)
#004AA2
Tritanopia (blue-blind)
#00606F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #274aa4;
/* rgb */ color: rgb(39, 74, 164);
/* oklch */ color: oklch(43.8% 0.151 264.8);
Tailwind
colors: {
  custom: {
    50: '#747cc0',
    500: '#274aa4',
    950: '#000000',
  },
}
SCSS
$custom: #274aa4;
$custom-light: #747cc0;
$custom-dark: #000000;
JSON
{
  "hex": "#274aa4",
  "rgb": {
    "r": 39,
    "g": 74,
    "b": 164
  },
  "hsl": {
    "h": 223.2,
    "s": 61.576,
    "l": 39.804
  },
  "oklch": {
    "l": 0.43836,
    "c": 0.15123,
    "h": 264.8
  },
  "luminance": 0.08009
}

Semantic roles & 50–950 ramp

primary
#274AA4
secondary
#C2A865
accent
#B743E5
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #274AA4

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

Preview Lab → · Contrast checker → · Palette generator →

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