#274AAB#274AAB

#274AAB is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.4% C 0.161 H 265.3°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#274AAB
RGBrgb(39, 74, 171)
HSLhsl(224, 63%, 41%)
HSVhsv(224, 77%, 67%)
CMYKcmyk(77.2%, 56.7%, 0%, 32.9%)
CIE-LABlab(34.53, 23.10, -55.58)
CIE-LCHlch(34.53, 60.19, 292.57°)
OKLaboklab(44.41% -0.0133 -0.1603)
OKLCHoklch(44.41% 0.161 265.3)
XYZxyz(10.6336, 8.2680, 39.5556)
Luminance0.0827 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274AAB #AB8827
analogous
#278CAB #274AAB #4627AB
triadic
#274AAB #AB274A #4AAB27
tetradic
#274AAB #AB278C #AB8827 #27AB46
square
#274AAB #AB278C #AB8827 #27AB46
split-complementary
#274AAB #AB4627 #8CAB27
monochromatic
#101F47 #1C3479 #274AAB #3D64D3 #6E8CDE

Accessibility & contrast

On white

7.91
#274AAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#274AAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274AAB
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274AAB#FFFFFF#000000##FFFFFF
##274AAB1.007.912.657.91
#FFFFFF7.911.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AE
Deuteranopia (green-blind)
#004BA9
Tritanopia (blue-blind)
#006273
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #274aab;
/* rgb */ color: rgb(39, 74, 171);
/* oklch */ color: oklch(44.4% 0.161 265.3);
Tailwind
colors: {
  custom: {
    50: '#757cc5',
    500: '#274aab',
    950: '#000000',
  },
}
SCSS
$custom: #274aab;
$custom-light: #757cc5;
$custom-dark: #000000;
JSON
{
  "hex": "#274aab",
  "rgb": {
    "r": 39,
    "g": 74,
    "b": 171
  },
  "hsl": {
    "h": 224.091,
    "s": 62.857,
    "l": 41.176
  },
  "oklch": {
    "l": 0.44408,
    "c": 0.1609,
    "h": 265.3
  },
  "luminance": 0.08269
}

Semantic roles & 50–950 ramp

primary
#274AAB
secondary
#C5AC69
accent
#BA42E6
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #274AAB

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

Preview Lab → · Contrast checker → · Palette generator →

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