#274DA1#274DA1

#274DA1 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.2% C 0.143 H 263.4°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#274DA1
RGBrgb(39, 77, 161)
HSLhsl(221, 61%, 39%)
HSVhsv(221, 76%, 63%)
CMYKcmyk(75.8%, 52.2%, 0%, 36.9%)
CIE-LABlab(34.62, 17.22, -49.45)
CIE-LCHlch(34.62, 52.36, 289.20°)
OKLaboklab(44.24% -0.0165 -0.1423)
OKLCHoklch(44.24% 0.143 263.4)
XYZxyz(9.9213, 8.3112, 34.7926)
Luminance0.0831 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274DA1 #A17B27
analogous
#278AA1 #274DA1 #3E27A1
triadic
#274DA1 #A1274D #4DA127
tetradic
#274DA1 #A1278A #A17B27 #27A13E
square
#274DA1 #A1278A #A17B27 #27A13E
split-complementary
#274DA1 #A13E27 #8AA127
monochromatic
#0F1E3E #1B3570 #274DA1 #3766CE #688CDA

Accessibility & contrast

On white

7.89
#274DA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#274DA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274DA1
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274DA1#FFFFFF#000000##FFFFFF
##274DA11.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1657A4
Deuteranopia (green-blind)
#004C9F
Tritanopia (blue-blind)
#00616F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #274da1;
/* rgb */ color: rgb(39, 77, 161);
/* oklch */ color: oklch(44.2% 0.143 263.4);
Tailwind
colors: {
  custom: {
    50: '#737ebd',
    500: '#274da1',
    950: '#000000',
  },
}
SCSS
$custom: #274da1;
$custom-light: #737ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#274da1",
  "rgb": {
    "r": 39,
    "g": 77,
    "b": 161
  },
  "hsl": {
    "h": 221.311,
    "s": 61,
    "l": 39.216
  },
  "oklch": {
    "l": 0.44239,
    "c": 0.14323,
    "h": 263.4
  },
  "luminance": 0.08312
}

Semantic roles & 50–950 ramp

primary
#274DA1
secondary
#C0A363
accent
#B244E4
background
#F7F7FB
surface
#EDEEF7
border
#C8C9D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #274DA1

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

Preview Lab → · Contrast checker → · Palette generator →

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