#274AAC#274AAC

#274AAC is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.5% C 0.162 H 265.3°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#274AAC
RGBrgb(39, 74, 172)
HSLhsl(224, 63%, 41%)
HSVhsv(224, 77%, 67%)
CMYKcmyk(77.3%, 57%, 0%, 32.5%)
CIE-LABlab(34.61, 23.49, -56.05)
CIE-LCHlch(34.61, 60.77, 292.74°)
OKLaboklab(44.49% -0.0132 -0.1617)
OKLCHoklch(44.49% 0.162 265.3)
XYZxyz(10.7292, 8.3062, 40.0595)
Luminance0.0831 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274AAC #AC8927
analogous
#278DAC #274AAC #4727AC
triadic
#274AAC #AC274A #4AAC27
tetradic
#274AAC #AC278D #AC8927 #27AC47
square
#274AAC #AC278D #AC8927 #27AC47
split-complementary
#274AAC #AC4727 #8DAC27
monochromatic
#101F48 #1C357A #274AAC #3D65D3 #6F8CDE

Accessibility & contrast

On white

7.89
#274AAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #274AAC
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274AAC#FFFFFF#000000##FFFFFF
##274AAC1.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AF
Deuteranopia (green-blind)
#004BAA
Tritanopia (blue-blind)
#006273
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #274aac;
/* rgb */ color: rgb(39, 74, 172);
/* oklch */ color: oklch(44.5% 0.162 265.3);
Tailwind
colors: {
  custom: {
    50: '#767cc5',
    500: '#274aac',
    950: '#000000',
  },
}
SCSS
$custom: #274aac;
$custom-light: #767cc5;
$custom-dark: #000000;
JSON
{
  "hex": "#274aac",
  "rgb": {
    "r": 39,
    "g": 74,
    "b": 172
  },
  "hsl": {
    "h": 224.211,
    "s": 63.033,
    "l": 41.373
  },
  "oklch": {
    "l": 0.44491,
    "c": 0.16227,
    "h": 265.3
  },
  "luminance": 0.08307
}

Semantic roles & 50–950 ramp

primary
#274AAC
secondary
#C5AD6A
accent
#BB42E6
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #274AAC

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

Preview Lab → · Contrast checker → · Palette generator →

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