#274CA5#274CA5

#274CA5 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.3% C 0.150 H 264.2°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#274CA5
RGBrgb(39, 76, 165)
HSLhsl(222, 62%, 40%)
HSVhsv(222, 76%, 65%)
CMYKcmyk(76.4%, 53.9%, 0%, 35.3%)
CIE-LABlab(34.63, 19.44, -51.84)
CIE-LCHlch(34.63, 55.36, 290.56°)
OKLaboklab(44.34% -0.0153 -0.1493)
OKLCHoklch(44.34% 0.15 264.2)
XYZxyz(10.2103, 8.3157, 36.6570)
Luminance0.0832 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274CA5 #A58027
analogous
#278BA5 #274CA5 #4127A5
triadic
#274CA5 #A5274C #4CA527
tetradic
#274CA5 #A5278B #A58027 #27A541
square
#274CA5 #A5278B #A58027 #27A541
split-complementary
#274CA5 #A54127 #8BA527
monochromatic
#101E42 #1B3574 #274CA5 #3965D0 #6A8CDC

Accessibility & contrast

On white

7.88
#274CA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#274CA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274CA5
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274CA5#FFFFFF#000000##FFFFFF
##274CA51.007.882.667.88
#FFFFFF7.881.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0758A8
Deuteranopia (green-blind)
#004CA3
Tritanopia (blue-blind)
#006271
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #274ca5;
/* rgb */ color: rgb(39, 76, 165);
/* oklch */ color: oklch(44.3% 0.150 264.2);
Tailwind
colors: {
  custom: {
    50: '#747dc0',
    500: '#274ca5',
    950: '#000000',
  },
}
SCSS
$custom: #274ca5;
$custom-light: #747dc0;
$custom-dark: #000000;
JSON
{
  "hex": "#274ca5",
  "rgb": {
    "r": 39,
    "g": 76,
    "b": 165
  },
  "hsl": {
    "h": 222.381,
    "s": 61.765,
    "l": 40
  },
  "oklch": {
    "l": 0.44338,
    "c": 0.15009,
    "h": 264.2
  },
  "luminance": 0.08317
}

Semantic roles & 50–950 ramp

primary
#274CA5
secondary
#C2A766
accent
#B543E5
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #274CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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