#274AB0#274AB0

#274AB0 is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.8% C 0.168 H 265.5°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#274AB0
RGBrgb(39, 74, 176)
HSLhsl(225, 64%, 42%)
HSVhsv(225, 78%, 69%)
CMYKcmyk(77.8%, 58%, 0%, 31%)
CIE-LABlab(34.93, 25.02, -57.91)
CIE-LCHlch(34.93, 63.09, 293.37°)
OKLaboklab(44.83% -0.013 -0.1672)
OKLCHoklch(44.83% 0.168 265.5)
XYZxyz(11.1192, 8.4622, 42.1132)
Luminance0.0846 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274AB0 #B08D27
analogous
#278EB0 #274AB0 #4927B0
triadic
#274AB0 #B0274A #4AB027
tetradic
#274AB0 #B0278E #B08D27 #27B049
square
#274AB0 #B0278E #B08D27 #27B049
split-complementary
#274AB0 #B04927 #8EB027
monochromatic
#11204C #1C357E #274AB0 #4066D5 #728EE0

Accessibility & contrast

On white

7.80
#274AB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#274AB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274AB0
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274AB0#FFFFFF#000000##FFFFFF
##274AB01.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B3
Deuteranopia (green-blind)
#004CAE
Tritanopia (blue-blind)
#006475
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #274ab0;
/* rgb */ color: rgb(39, 74, 176);
/* oklch */ color: oklch(44.8% 0.168 265.5);
Tailwind
colors: {
  custom: {
    50: '#777cc8',
    500: '#274ab0',
    950: '#000000',
  },
}
SCSS
$custom: #274ab0;
$custom-light: #777cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#274ab0",
  "rgb": {
    "r": 39,
    "g": 74,
    "b": 176
  },
  "hsl": {
    "h": 224.672,
    "s": 63.721,
    "l": 42.157
  },
  "oklch": {
    "l": 0.44827,
    "c": 0.16772,
    "h": 265.5
  },
  "luminance": 0.08463
}

Semantic roles & 50–950 ramp

primary
#274AB0
secondary
#C7B06C
accent
#BC41E7
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #274AB0

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

Preview Lab → · Contrast checker → · Palette generator →

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