#274197#274197

#274197 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.9% C 0.144 H 267.0°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#274197
RGBrgb(39, 65, 151)
HSLhsl(226, 59%, 37%)
HSVhsv(226, 74%, 59%)
CMYKcmyk(74.2%, 57%, 0%, 40.8%)
CIE-LABlab(30.51, 21.45, -50.07)
CIE-LCHlch(30.51, 54.47, 293.20°)
OKLaboklab(40.89% -0.0076 -0.1443)
OKLCHoklch(40.89% 0.144 267)
XYZxyz(8.3110, 6.4454, 30.0782)
Luminance0.0645 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274197 #977D27
analogous
#277997 #274197 #452797
triadic
#274197 #972741 #419727
tetradic
#274197 #972779 #977D27 #279745
square
#274197 #972779 #977D27 #279745
split-complementary
#274197 #974527 #799727
monochromatic
#0E1736 #1A2C66 #274197 #3456C8 #627DD6

Accessibility & contrast

On white

9.17
#274197 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#274197 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274197
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274197#FFFFFF#000000##FFFFFF
##2741971.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9A
Deuteranopia (green-blind)
#004395
Tritanopia (blue-blind)
#005665
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #274197;
/* rgb */ color: rgb(39, 65, 151);
/* oklch */ color: oklch(40.9% 0.144 267.0);
Tailwind
colors: {
  custom: {
    50: '#7175b6',
    500: '#274197',
    950: '#000000',
  },
}
SCSS
$custom: #274197;
$custom-light: #7175b6;
$custom-dark: #000000;
JSON
{
  "hex": "#274197",
  "rgb": {
    "r": 39,
    "g": 65,
    "b": 151
  },
  "hsl": {
    "h": 226.071,
    "s": 58.947,
    "l": 37.255
  },
  "oklch": {
    "l": 0.40891,
    "c": 0.14449,
    "h": 267
  },
  "luminance": 0.06446
}

Semantic roles & 50–950 ramp

primary
#274197
secondary
#BCA65E
accent
#BE46E2
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #274197

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

Preview Lab → · Contrast checker → · Palette generator →

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