#274FA3#274FA3

#274FA3 is a dark, vivid blue. Relative luminance 0.087; OKLCH L 44.8% C 0.144 H 262.8°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#274FA3
RGBrgb(39, 79, 163)
HSLhsl(221, 61%, 40%)
HSVhsv(221, 76%, 64%)
CMYKcmyk(76.1%, 51.5%, 0%, 36.1%)
CIE-LABlab(35.33, 16.66, -49.50)
CIE-LCHlch(35.33, 52.23, 288.60°)
OKLaboklab(44.83% -0.0179 -0.1424)
OKLCHoklch(44.83% 0.144 262.8)
XYZxyz(10.2412, 8.6665, 35.7763)
Luminance0.0867 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274FA3 #A37B27
analogous
#278DA3 #274FA3 #3D27A3
triadic
#274FA3 #A3274F #4FA327
tetradic
#274FA3 #A3278D #A37B27 #27A33D
square
#274FA3 #A3278D #A37B27 #27A33D
split-complementary
#274FA3 #A33D27 #8DA327
monochromatic
#0F1F40 #1B3772 #274FA3 #3869CF #698EDB

Accessibility & contrast

On white

7.68
#274FA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#274FA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274FA3
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274FA3#FFFFFF#000000##FFFFFF
##274FA31.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A59A6
Deuteranopia (green-blind)
#004EA1
Tritanopia (blue-blind)
#006371
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #274fa3;
/* rgb */ color: rgb(39, 79, 163);
/* oklch */ color: oklch(44.8% 0.144 262.8);
Tailwind
colors: {
  custom: {
    50: '#737fbf',
    500: '#274fa3',
    950: '#000000',
  },
}
SCSS
$custom: #274fa3;
$custom-light: #737fbf;
$custom-dark: #000000;
JSON
{
  "hex": "#274fa3",
  "rgb": {
    "r": 39,
    "g": 79,
    "b": 163
  },
  "hsl": {
    "h": 220.645,
    "s": 61.386,
    "l": 39.608
  },
  "oklch": {
    "l": 0.44826,
    "c": 0.14351,
    "h": 262.8
  },
  "luminance": 0.08668
}

Semantic roles & 50–950 ramp

primary
#274FA3
secondary
#C1A364
accent
#B043E4
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #274FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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