#274AA7#274AA7

#274AA7 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.1% C 0.155 H 265.0°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#274AA7
RGBrgb(39, 74, 167)
HSLhsl(224, 62%, 40%)
HSVhsv(224, 77%, 65%)
CMYKcmyk(76.6%, 55.7%, 0%, 34.5%)
CIE-LABlab(34.23, 21.56, -53.69)
CIE-LCHlch(34.23, 57.86, 291.88°)
OKLaboklab(44.08% -0.0136 -0.1548)
OKLCHoklch(44.08% 0.155 265)
XYZxyz(10.2581, 8.1178, 37.5780)
Luminance0.0812 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274AA7 #A78427
analogous
#278AA7 #274AA7 #4427A7
triadic
#274AA7 #A7274A #4AA727
tetradic
#274AA7 #A7278A #A78427 #27A744
square
#274AA7 #A7278A #A78427 #27A744
split-complementary
#274AA7 #A74427 #8AA727
monochromatic
#101E44 #1B3475 #274AA7 #3A63D1 #6C8BDD

Accessibility & contrast

On white

8.00
#274AA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#274AA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274AA7
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274AA7#FFFFFF#000000##FFFFFF
##274AA71.008.002.628.00
#FFFFFF8.001.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AA
Deuteranopia (green-blind)
#004BA5
Tritanopia (blue-blind)
#006171
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #274aa7;
/* rgb */ color: rgb(39, 74, 167);
/* oklch */ color: oklch(44.1% 0.155 265.0);
Tailwind
colors: {
  custom: {
    50: '#757cc2',
    500: '#274aa7',
    950: '#000000',
  },
}
SCSS
$custom: #274aa7;
$custom-light: #757cc2;
$custom-dark: #000000;
JSON
{
  "hex": "#274aa7",
  "rgb": {
    "r": 39,
    "g": 74,
    "b": 167
  },
  "hsl": {
    "h": 223.594,
    "s": 62.136,
    "l": 40.392
  },
  "oklch": {
    "l": 0.44079,
    "c": 0.15539,
    "h": 265
  },
  "luminance": 0.08119
}

Semantic roles & 50–950 ramp

primary
#274AA7
secondary
#C3AA67
accent
#B943E5
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #274AA7

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

Preview Lab → · Contrast checker → · Palette generator →

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