#274EA3#274EA3

#274EA3 is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.6% C 0.145 H 263.2°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#274EA3
RGBrgb(39, 78, 163)
HSLhsl(221, 61%, 40%)
HSVhsv(221, 76%, 64%)
CMYKcmyk(76.1%, 52.1%, 0%, 36.1%)
CIE-LABlab(35.05, 17.33, -49.96)
CIE-LCHlch(35.05, 52.88, 289.13°)
OKLaboklab(44.61% -0.0171 -0.1438)
OKLCHoklch(44.61% 0.145 263.2)
XYZxyz(10.1696, 8.5233, 35.7524)
Luminance0.0852 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274EA3 #A37C27
analogous
#278CA3 #274EA3 #3E27A3
triadic
#274EA3 #A3274E #4EA327
tetradic
#274EA3 #A3278C #A37C27 #27A33E
square
#274EA3 #A3278C #A37C27 #27A33E
split-complementary
#274EA3 #A33E27 #8CA327
monochromatic
#0F1F40 #1B3672 #274EA3 #3867CF #698DDB

Accessibility & contrast

On white

7.76
#274EA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#274EA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274EA3
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274EA3#FFFFFF#000000##FFFFFF
##274EA31.007.762.707.76
#FFFFFF7.761.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1658A6
Deuteranopia (green-blind)
#004DA1
Tritanopia (blue-blind)
#006271
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #274ea3;
/* rgb */ color: rgb(39, 78, 163);
/* oklch */ color: oklch(44.6% 0.145 263.2);
Tailwind
colors: {
  custom: {
    50: '#737fbf',
    500: '#274ea3',
    950: '#000000',
  },
}
SCSS
$custom: #274ea3;
$custom-light: #737fbf;
$custom-dark: #000000;
JSON
{
  "hex": "#274ea3",
  "rgb": {
    "r": 39,
    "g": 78,
    "b": 163
  },
  "hsl": {
    "h": 221.129,
    "s": 61.386,
    "l": 39.608
  },
  "oklch": {
    "l": 0.44609,
    "c": 0.14477,
    "h": 263.2
  },
  "luminance": 0.08524
}

Semantic roles & 50–950 ramp

primary
#274EA3
secondary
#C1A464
accent
#B243E4
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #274EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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