#274AA3#274AA3

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

Color values

HEX#274AA3
RGBrgb(39, 74, 163)
HSLhsl(223, 61%, 40%)
HSVhsv(223, 76%, 64%)
CMYKcmyk(76.1%, 54.6%, 0%, 36.1%)
CIE-LABlab(33.92, 20.01, -51.78)
CIE-LCHlch(33.92, 55.52, 291.13°)
OKLaboklab(43.76% -0.0139 -0.1492)
OKLCHoklch(43.76% 0.15 264.7)
XYZxyz(9.8940, 7.9721, 35.6606)
Luminance0.0797 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274AA3 #A38027
analogous
#2788A3 #274AA3 #4227A3
triadic
#274AA3 #A3274A #4AA327
tetradic
#274AA3 #A32788 #A38027 #27A342
square
#274AA3 #A32788 #A38027 #27A342
split-complementary
#274AA3 #A34227 #88A327
monochromatic
#0F1D40 #1B3472 #274AA3 #3863CF #6989DB

Accessibility & contrast

On white

8.09
#274AA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#274AA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274AA3
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274AA3#FFFFFF#000000##FFFFFF
##274AA31.008.092.598.09
#FFFFFF8.091.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #274aa3;
/* rgb */ color: rgb(39, 74, 163);
/* oklch */ color: oklch(43.8% 0.150 264.7);
Tailwind
colors: {
  custom: {
    50: '#747cbf',
    500: '#274aa3',
    950: '#000000',
  },
}
SCSS
$custom: #274aa3;
$custom-light: #747cbf;
$custom-dark: #000000;
JSON
{
  "hex": "#274aa3",
  "rgb": {
    "r": 39,
    "g": 74,
    "b": 163
  },
  "hsl": {
    "h": 223.065,
    "s": 61.386,
    "l": 39.608
  },
  "oklch": {
    "l": 0.43756,
    "c": 0.14983,
    "h": 264.7
  },
  "luminance": 0.07973
}

Semantic roles & 50–950 ramp

primary
#274AA3
secondary
#C1A764
accent
#B743E4
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #274AA3

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

Preview Lab → · Contrast checker → · Palette generator →

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