#274AA1#274AA1

#274AA1 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.6% C 0.147 H 264.5°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#274AA1
RGBrgb(39, 74, 161)
HSLhsl(223, 61%, 39%)
HSVhsv(223, 76%, 63%)
CMYKcmyk(75.8%, 54%, 0%, 36.9%)
CIE-LABlab(33.78, 19.24, -50.82)
CIE-LCHlch(33.78, 54.34, 290.73°)
OKLaboklab(43.6% -0.0141 -0.1464)
OKLCHoklch(43.6% 0.147 264.5)
XYZxyz(9.7162, 7.9010, 34.7243)
Luminance0.0790 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274AA1 #A17E27
analogous
#2787A1 #274AA1 #4127A1
triadic
#274AA1 #A1274A #4AA127
tetradic
#274AA1 #A12787 #A17E27 #27A141
square
#274AA1 #A12787 #A17E27 #27A141
split-complementary
#274AA1 #A14127 #87A127
monochromatic
#0F1D3E #1B3370 #274AA1 #3762CE #6889DA

Accessibility & contrast

On white

8.14
#274AA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#274AA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274AA1
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274AA1#FFFFFF#000000##FFFFFF
##274AA11.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0755A4
Deuteranopia (green-blind)
#004A9F
Tritanopia (blue-blind)
#005F6E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #274aa1;
/* rgb */ color: rgb(39, 74, 161);
/* oklch */ color: oklch(43.6% 0.147 264.5);
Tailwind
colors: {
  custom: {
    50: '#737cbd',
    500: '#274aa1',
    950: '#000000',
  },
}
SCSS
$custom: #274aa1;
$custom-light: #737cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#274aa1",
  "rgb": {
    "r": 39,
    "g": 74,
    "b": 161
  },
  "hsl": {
    "h": 222.787,
    "s": 61,
    "l": 39.216
  },
  "oklch": {
    "l": 0.43596,
    "c": 0.14704,
    "h": 264.5
  },
  "luminance": 0.07902
}

Semantic roles & 50–950 ramp

primary
#274AA1
secondary
#C0A663
accent
#B644E4
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #274AA1

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

Preview Lab → · Contrast checker → · Palette generator →

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