#274491#274491

#274491 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.0% C 0.132 H 265.4°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#274491
RGBrgb(39, 68, 145)
HSLhsl(224, 58%, 36%)
HSVhsv(224, 73%, 57%)
CMYKcmyk(73.1%, 53.1%, 0%, 43.1%)
CIE-LABlab(30.90, 17.09, -45.77)
CIE-LCHlch(30.90, 48.85, 290.47°)
OKLaboklab(41.04% -0.0106 -0.1316)
OKLCHoklch(41.04% 0.132 265.4)
XYZxyz(8.0129, 6.6091, 27.6360)
Luminance0.0661 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274491 #917427
analogous
#277991 #274491 #3F2791
triadic
#274491 #912744 #449127
tetradic
#274491 #912779 #917427 #27913F
square
#274491 #912779 #917427 #27913F
split-complementary
#274491 #913F27 #799127
monochromatic
#0D1731 #1A2D61 #274491 #345BC1 #5F7FD4

Accessibility & contrast

On white

9.04
#274491 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#274491 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274491
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274491#FFFFFF#000000##FFFFFF
##2744911.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#124E94
Deuteranopia (green-blind)
#00448F
Tritanopia (blue-blind)
#005664
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #274491;
/* rgb */ color: rgb(39, 68, 145);
/* oklch */ color: oklch(41.0% 0.132 265.4);
Tailwind
colors: {
  custom: {
    50: '#7077b2',
    500: '#274491',
    950: '#000000',
  },
}
SCSS
$custom: #274491;
$custom-light: #7077b2;
$custom-dark: #000000;
JSON
{
  "hex": "#274491",
  "rgb": {
    "r": 39,
    "g": 68,
    "b": 145
  },
  "hsl": {
    "h": 223.585,
    "s": 57.609,
    "l": 36.078
  },
  "oklch": {
    "l": 0.41042,
    "c": 0.13203,
    "h": 265.4
  },
  "luminance": 0.0661
}

Semantic roles & 50–950 ramp

primary
#274491
secondary
#B99F5B
accent
#B747E1
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #274491

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

Preview Lab → · Contrast checker → · Palette generator →

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