#274699#274699

#274699 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.1% C 0.141 H 265.3°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#274699
RGBrgb(39, 70, 153)
HSLhsl(224, 59%, 38%)
HSVhsv(224, 75%, 60%)
CMYKcmyk(74.5%, 54.2%, 0%, 40%)
CIE-LABlab(32.06, 18.83, -48.77)
CIE-LCHlch(32.06, 52.28, 291.11°)
OKLaboklab(42.11% -0.0115 -0.1404)
OKLCHoklch(42.11% 0.141 265.3)
XYZxyz(8.7746, 7.1106, 31.0409)
Luminance0.0711 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274699 #997A27
analogous
#277F99 #274699 #412799
triadic
#274699 #992746 #469927
tetradic
#274699 #99277F #997A27 #279941
square
#274699 #99277F #997A27 #279941
split-complementary
#274699 #994127 #7F9927
monochromatic
#0E1937 #1B3068 #274699 #335CCA #6383D7

Accessibility & contrast

On white

8.67
#274699 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#274699 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274699
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274699#FFFFFF#000000##FFFFFF
##2746991.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08519C
Deuteranopia (green-blind)
#004697
Tritanopia (blue-blind)
#005A68
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #274699;
/* rgb */ color: rgb(39, 70, 153);
/* oklch */ color: oklch(42.1% 0.141 265.3);
Tailwind
colors: {
  custom: {
    50: '#7178b8',
    500: '#274699',
    950: '#000000',
  },
}
SCSS
$custom: #274699;
$custom-light: #7178b8;
$custom-dark: #000000;
JSON
{
  "hex": "#274699",
  "rgb": {
    "r": 39,
    "g": 70,
    "b": 153
  },
  "hsl": {
    "h": 223.684,
    "s": 59.375,
    "l": 37.647
  },
  "oklch": {
    "l": 0.42106,
    "c": 0.14088,
    "h": 265.3
  },
  "luminance": 0.07112
}

Semantic roles & 50–950 ramp

primary
#274699
secondary
#BDA35F
accent
#B845E3
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #274699

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

Preview Lab → · Contrast checker → · Palette generator →

#274699 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva