#274AA2#274AA2

#274AA2 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.7% C 0.148 H 264.6°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#274AA2
RGBrgb(39, 74, 162)
HSLhsl(223, 61%, 39%)
HSVhsv(223, 76%, 64%)
CMYKcmyk(75.9%, 54.3%, 0%, 36.5%)
CIE-LABlab(33.85, 19.63, -51.30)
CIE-LCHlch(33.85, 54.93, 290.93°)
OKLaboklab(43.68% -0.014 -0.1478)
OKLCHoklch(43.68% 0.148 264.6)
XYZxyz(9.8048, 7.9364, 35.1906)
Luminance0.0794 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274AA2 #A27F27
analogous
#2788A2 #274AA2 #4227A2
triadic
#274AA2 #A2274A #4AA227
tetradic
#274AA2 #A22788 #A27F27 #27A242
square
#274AA2 #A22788 #A27F27 #27A242
split-complementary
#274AA2 #A24227 #88A227
monochromatic
#0F1D3F #1B3371 #274AA2 #3762CF #6989DB

Accessibility & contrast

On white

8.12
#274AA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #274AA2
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274AA2#FFFFFF#000000##FFFFFF
##274AA21.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0456A5
Deuteranopia (green-blind)
#004AA0
Tritanopia (blue-blind)
#005F6E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #274aa2;
/* rgb */ color: rgb(39, 74, 162);
/* oklch */ color: oklch(43.7% 0.148 264.6);
Tailwind
colors: {
  custom: {
    50: '#737cbe',
    500: '#274aa2',
    950: '#000000',
  },
}
SCSS
$custom: #274aa2;
$custom-light: #737cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#274aa2",
  "rgb": {
    "r": 39,
    "g": 74,
    "b": 162
  },
  "hsl": {
    "h": 222.927,
    "s": 61.194,
    "l": 39.412
  },
  "oklch": {
    "l": 0.43676,
    "c": 0.14844,
    "h": 264.6
  },
  "luminance": 0.07938
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #274AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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