#274AB3#274AB3

#274AB3 is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.1% C 0.172 H 265.7°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#274AB3
RGBrgb(39, 74, 179)
HSLhsl(225, 64%, 43%)
HSVhsv(225, 78%, 70%)
CMYKcmyk(78.2%, 58.7%, 0%, 29.8%)
CIE-LABlab(35.17, 26.17, -59.30)
CIE-LCHlch(35.17, 64.82, 293.81°)
OKLaboklab(45.08% -0.0129 -0.1713)
OKLCHoklch(45.08% 0.172 265.7)
XYZxyz(11.4193, 8.5823, 43.6938)
Luminance0.0858 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274AB3 #B39027
analogous
#2790B3 #274AB3 #4A27B3
triadic
#274AB3 #B3274A #4AB327
tetradic
#274AB3 #B32790 #B39027 #27B34A
square
#274AB3 #B32790 #B39027 #27B34A
split-complementary
#274AB3 #B34A27 #90B327
monochromatic
#11204E #1C3581 #274AB3 #4167D6 #748FE1

Accessibility & contrast

On white

7.73
#274AB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #274AB3
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274AB3#FFFFFF#000000##FFFFFF
##274AB31.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B7
Deuteranopia (green-blind)
#004CB1
Tritanopia (blue-blind)
#006477
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #274ab3;
/* rgb */ color: rgb(39, 74, 179);
/* oklch */ color: oklch(45.1% 0.172 265.7);
Tailwind
colors: {
  custom: {
    50: '#777ccb',
    500: '#274ab3',
    950: '#000000',
  },
}
SCSS
$custom: #274ab3;
$custom-light: #777ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#274ab3",
  "rgb": {
    "r": 39,
    "g": 74,
    "b": 179
  },
  "hsl": {
    "h": 225,
    "s": 64.22,
    "l": 42.745
  },
  "oklch": {
    "l": 0.45081,
    "c": 0.17178,
    "h": 265.7
  },
  "luminance": 0.08584
}

Semantic roles & 50–950 ramp

primary
#274AB3
secondary
#C8B16E
accent
#BE41E7
background
#F7F7FC
surface
#EEEEF9
border
#C9C9D2
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #274AB3

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

Preview Lab → · Contrast checker → · Palette generator →

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