#274AA5#274AA5

#274AA5 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 43.9% C 0.153 H 264.8°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#274AA5
RGBrgb(39, 74, 165)
HSLhsl(223, 62%, 40%)
HSVhsv(223, 76%, 65%)
CMYKcmyk(76.4%, 55.2%, 0%, 35.3%)
CIE-LABlab(34.08, 20.79, -52.74)
CIE-LCHlch(34.08, 56.69, 291.51°)
OKLaboklab(43.92% -0.0137 -0.152)
OKLCHoklch(43.92% 0.153 264.8)
XYZxyz(10.0746, 8.0444, 36.6118)
Luminance0.0805 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274AA5 #A58227
analogous
#2789A5 #274AA5 #4327A5
triadic
#274AA5 #A5274A #4AA527
tetradic
#274AA5 #A52789 #A58227 #27A543
square
#274AA5 #A52789 #A58227 #27A543
split-complementary
#274AA5 #A54327 #89A527
monochromatic
#101E42 #1B3474 #274AA5 #3963D0 #6A8ADC

Accessibility & contrast

On white

8.05
#274AA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#274AA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274AA5
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274AA5#FFFFFF#000000##FFFFFF
##274AA51.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056A8
Deuteranopia (green-blind)
#004BA3
Tritanopia (blue-blind)
#006070
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #274aa5;
/* rgb */ color: rgb(39, 74, 165);
/* oklch */ color: oklch(43.9% 0.153 264.8);
Tailwind
colors: {
  custom: {
    50: '#747cc0',
    500: '#274aa5',
    950: '#000000',
  },
}
SCSS
$custom: #274aa5;
$custom-light: #747cc0;
$custom-dark: #000000;
JSON
{
  "hex": "#274aa5",
  "rgb": {
    "r": 39,
    "g": 74,
    "b": 165
  },
  "hsl": {
    "h": 223.333,
    "s": 61.765,
    "l": 40
  },
  "oklch": {
    "l": 0.43917,
    "c": 0.15262,
    "h": 264.8
  },
  "luminance": 0.08046
}

Semantic roles & 50–950 ramp

primary
#274AA5
secondary
#C2A866
accent
#B843E5
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #274AA5

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

Preview Lab → · Contrast checker → · Palette generator →

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