#274FAB#274FAB

#274FAB is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.4% C 0.155 H 263.7°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#274FAB
RGBrgb(39, 79, 171)
HSLhsl(222, 63%, 41%)
HSVhsv(222, 77%, 67%)
CMYKcmyk(77.2%, 53.8%, 0%, 32.9%)
CIE-LABlab(35.91, 19.76, -53.34)
CIE-LCHlch(35.91, 56.89, 290.33°)
OKLaboklab(45.45% -0.017 -0.1537)
OKLCHoklch(45.45% 0.155 263.7)
XYZxyz(10.9808, 8.9623, 39.6714)
Luminance0.0896 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274FAB #AB8327
analogous
#2791AB #274FAB #4127AB
triadic
#274FAB #AB274F #4FAB27
tetradic
#274FAB #AB2791 #AB8327 #27AB41
square
#274FAB #AB2791 #AB8327 #27AB41
split-complementary
#274FAB #AB4127 #91AB27
monochromatic
#102147 #1C3879 #274FAB #3D6AD3 #6E90DE

Accessibility & contrast

On white

7.52
#274FAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#274FAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274FAB
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274FAB#FFFFFF#000000##FFFFFF
##274FAB1.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#065BAE
Deuteranopia (green-blind)
#004FA9
Tritanopia (blue-blind)
#006575
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #274fab;
/* rgb */ color: rgb(39, 79, 171);
/* oklch */ color: oklch(45.4% 0.155 263.7);
Tailwind
colors: {
  custom: {
    50: '#757fc5',
    500: '#274fab',
    950: '#000000',
  },
}
SCSS
$custom: #274fab;
$custom-light: #757fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#274fab",
  "rgb": {
    "r": 39,
    "g": 79,
    "b": 171
  },
  "hsl": {
    "h": 221.818,
    "s": 62.857,
    "l": 41.176
  },
  "oklch": {
    "l": 0.45448,
    "c": 0.15463,
    "h": 263.7
  },
  "luminance": 0.08964
}

Semantic roles & 50–950 ramp

primary
#274FAB
secondary
#C5A969
accent
#B442E6
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #274FAB

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

Preview Lab → · Contrast checker → · Palette generator →

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