#274FA1#274FA1

#274FA1 is a dark, vivid blue. Relative luminance 0.086; OKLCH L 44.7% C 0.141 H 262.6°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#274FA1
RGBrgb(39, 79, 161)
HSLhsl(220, 61%, 39%)
HSVhsv(220, 76%, 63%)
CMYKcmyk(75.8%, 50.9%, 0%, 36.9%)
CIE-LABlab(35.19, 15.88, -48.53)
CIE-LCHlch(35.19, 51.06, 288.12°)
OKLaboklab(44.67% -0.0182 -0.1395)
OKLCHoklch(44.67% 0.141 262.6)
XYZxyz(10.0634, 8.5954, 34.8400)
Luminance0.0860 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274FA1 #A17927
analogous
#278CA1 #274FA1 #3C27A1
triadic
#274FA1 #A1274F #4FA127
tetradic
#274FA1 #A1278C #A17927 #27A13C
square
#274FA1 #A1278C #A17927 #27A13C
split-complementary
#274FA1 #A13C27 #8CA127
monochromatic
#0F1F3E #1B3770 #274FA1 #3768CE #688EDA

Accessibility & contrast

On white

7.72
#274FA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#274FA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274FA1
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274FA1#FFFFFF#000000##FFFFFF
##274FA11.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D59A4
Deuteranopia (green-blind)
#004D9F
Tritanopia (blue-blind)
#006370
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #274fa1;
/* rgb */ color: rgb(39, 79, 161);
/* oklch */ color: oklch(44.7% 0.141 262.6);
Tailwind
colors: {
  custom: {
    50: '#737fbd',
    500: '#274fa1',
    950: '#000000',
  },
}
SCSS
$custom: #274fa1;
$custom-light: #737fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#274fa1",
  "rgb": {
    "r": 39,
    "g": 79,
    "b": 161
  },
  "hsl": {
    "h": 220.328,
    "s": 61,
    "l": 39.216
  },
  "oklch": {
    "l": 0.44674,
    "c": 0.14071,
    "h": 262.6
  },
  "luminance": 0.08597
}

Semantic roles & 50–950 ramp

primary
#274FA1
secondary
#C0A263
accent
#B044E4
background
#F7F7FB
surface
#EDEEF7
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #274FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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