#274091#274091

#274091 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.2% C 0.137 H 267.0°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#274091
RGBrgb(39, 64, 145)
HSLhsl(226, 58%, 36%)
HSVhsv(226, 73%, 57%)
CMYKcmyk(73.1%, 55.9%, 0%, 43.1%)
CIE-LABlab(29.77, 19.82, -47.60)
CIE-LCHlch(29.77, 51.56, 292.60°)
OKLaboklab(40.18% -0.0071 -0.1371)
OKLCHoklch(40.18% 0.137 267)
XYZxyz(7.7792, 6.1417, 27.5581)
Luminance0.0614 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274091 #917827
analogous
#277591 #274091 #432791
triadic
#274091 #912740 #409127
tetradic
#274091 #912775 #917827 #279143
square
#274091 #912775 #917827 #279143
split-complementary
#274091 #914327 #759127
monochromatic
#0D1531 #1A2B61 #274091 #3455C1 #5F7AD4

Accessibility & contrast

On white

9.42
#274091 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#274091 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274091
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274091#FFFFFF#000000##FFFFFF
##2740911.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B94
Deuteranopia (green-blind)
#00418F
Tritanopia (blue-blind)
#005462
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #274091;
/* rgb */ color: rgb(39, 64, 145);
/* oklch */ color: oklch(40.2% 0.137 267.0);
Tailwind
colors: {
  custom: {
    50: '#7074b2',
    500: '#274091',
    950: '#000000',
  },
}
SCSS
$custom: #274091;
$custom-light: #7074b2;
$custom-dark: #000000;
JSON
{
  "hex": "#274091",
  "rgb": {
    "r": 39,
    "g": 64,
    "b": 145
  },
  "hsl": {
    "h": 225.849,
    "s": 57.609,
    "l": 36.078
  },
  "oklch": {
    "l": 0.40185,
    "c": 0.13724,
    "h": 267
  },
  "luminance": 0.06142
}

Semantic roles & 50–950 ramp

primary
#274091
secondary
#B9A35B
accent
#BD47E1
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #274091

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

Preview Lab → · Contrast checker → · Palette generator →

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