#274DA7#274DA7

#274DA7 is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.7% C 0.152 H 264.0°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#274DA7
RGBrgb(39, 77, 167)
HSLhsl(222, 62%, 40%)
HSVhsv(222, 77%, 65%)
CMYKcmyk(76.6%, 53.9%, 0%, 34.5%)
CIE-LABlab(35.06, 19.55, -52.34)
CIE-LCHlch(35.06, 55.87, 290.48°)
OKLaboklab(44.71% -0.0159 -0.1508)
OKLCHoklch(44.71% 0.152 264)
XYZxyz(10.4632, 8.5279, 37.6463)
Luminance0.0853 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274DA7 #A78127
analogous
#278DA7 #274DA7 #4127A7
triadic
#274DA7 #A7274D #4DA727
tetradic
#274DA7 #A7278D #A78127 #27A741
square
#274DA7 #A7278D #A78127 #27A741
split-complementary
#274DA7 #A74127 #8DA727
monochromatic
#101F44 #1B3675 #274DA7 #3A67D1 #6C8DDD

Accessibility & contrast

On white

7.76
#274DA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#274DA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274DA7
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274DA7#FFFFFF#000000##FFFFFF
##274DA71.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0759AA
Deuteranopia (green-blind)
#004DA5
Tritanopia (blue-blind)
#006372
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #274da7;
/* rgb */ color: rgb(39, 77, 167);
/* oklch */ color: oklch(44.7% 0.152 264.0);
Tailwind
colors: {
  custom: {
    50: '#747ec2',
    500: '#274da7',
    950: '#000000',
  },
}
SCSS
$custom: #274da7;
$custom-light: #747ec2;
$custom-dark: #000000;
JSON
{
  "hex": "#274da7",
  "rgb": {
    "r": 39,
    "g": 77,
    "b": 167
  },
  "hsl": {
    "h": 222.188,
    "s": 62.136,
    "l": 40.392
  },
  "oklch": {
    "l": 0.44709,
    "c": 0.15161,
    "h": 264
  },
  "luminance": 0.08529
}

Semantic roles & 50–950 ramp

primary
#274DA7
secondary
#C3A867
accent
#B543E5
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#090912
muted
#7B7B81

Preview Lab

Preview with #274DA7

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

Preview Lab → · Contrast checker → · Palette generator →

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