#274EA6#274EA6

#274EA6 is a dark, vivid blue. Relative luminance 0.086; OKLCH L 44.8% C 0.149 H 263.5°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#274EA6
RGBrgb(39, 78, 166)
HSLhsl(222, 62%, 40%)
HSVhsv(222, 77%, 65%)
CMYKcmyk(76.5%, 53%, 0%, 34.9%)
CIE-LABlab(35.27, 18.49, -51.41)
CIE-LCHlch(35.27, 54.63, 289.79°)
OKLaboklab(44.84% -0.0168 -0.148)
OKLCHoklch(44.84% 0.149 263.5)
XYZxyz(10.4416, 8.6321, 37.1849)
Luminance0.0863 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274EA6 #A67F27
analogous
#278DA6 #274EA6 #4027A6
triadic
#274EA6 #A6274E #4EA627
tetradic
#274EA6 #A6278D #A67F27 #27A640
square
#274EA6 #A6278D #A67F27 #27A640
split-complementary
#274EA6 #A64027 #8DA627
monochromatic
#101F43 #1B3774 #274EA6 #3A68D1 #6B8EDC

Accessibility & contrast

On white

7.70
#274EA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #274EA6
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274EA6#FFFFFF#000000##FFFFFF
##274EA61.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1059A9
Deuteranopia (green-blind)
#004DA4
Tritanopia (blue-blind)
#006372
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #274ea6;
/* rgb */ color: rgb(39, 78, 166);
/* oklch */ color: oklch(44.8% 0.149 263.5);
Tailwind
colors: {
  custom: {
    50: '#747fc1',
    500: '#274ea6',
    950: '#000000',
  },
}
SCSS
$custom: #274ea6;
$custom-light: #747fc1;
$custom-dark: #000000;
JSON
{
  "hex": "#274ea6",
  "rgb": {
    "r": 39,
    "g": 78,
    "b": 166
  },
  "hsl": {
    "h": 221.575,
    "s": 61.951,
    "l": 40.196
  },
  "oklch": {
    "l": 0.44843,
    "c": 0.14897,
    "h": 263.5
  },
  "luminance": 0.08633
}

Semantic roles & 50–950 ramp

primary
#274EA6
secondary
#C3A666
accent
#B343E5
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #274EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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