#274CA7#274CA7

#274CA7 is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.5% C 0.153 H 264.3°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#274CA7
RGBrgb(39, 76, 167)
HSLhsl(223, 62%, 40%)
HSVhsv(223, 77%, 65%)
CMYKcmyk(76.6%, 54.5%, 0%, 34.5%)
CIE-LABlab(34.78, 20.22, -52.79)
CIE-LCHlch(34.78, 56.53, 290.96°)
OKLaboklab(44.5% -0.0151 -0.1521)
OKLCHoklch(44.5% 0.153 264.3)
XYZxyz(10.3937, 8.3891, 37.6232)
Luminance0.0839 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274CA7 #A78227
analogous
#278CA7 #274CA7 #4227A7
triadic
#274CA7 #A7274C #4CA727
tetradic
#274CA7 #A7278C #A78227 #27A742
square
#274CA7 #A7278C #A78227 #27A742
split-complementary
#274CA7 #A74227 #8CA727
monochromatic
#101F44 #1B3575 #274CA7 #3A66D1 #6C8CDD

Accessibility & contrast

On white

7.84
#274CA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#274CA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274CA7
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274CA7#FFFFFF#000000##FFFFFF
##274CA71.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AA
Deuteranopia (green-blind)
#004CA5
Tritanopia (blue-blind)
#006272
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #274ca7;
/* rgb */ color: rgb(39, 76, 167);
/* oklch */ color: oklch(44.5% 0.153 264.3);
Tailwind
colors: {
  custom: {
    50: '#747dc2',
    500: '#274ca7',
    950: '#000000',
  },
}
SCSS
$custom: #274ca7;
$custom-light: #747dc2;
$custom-dark: #000000;
JSON
{
  "hex": "#274ca7",
  "rgb": {
    "r": 39,
    "g": 76,
    "b": 167
  },
  "hsl": {
    "h": 222.656,
    "s": 62.136,
    "l": 40.392
  },
  "oklch": {
    "l": 0.44498,
    "c": 0.15288,
    "h": 264.3
  },
  "luminance": 0.0839
}

Semantic roles & 50–950 ramp

primary
#274CA7
secondary
#C3A867
accent
#B643E5
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #274CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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