#274186#274186

#274186 is a dark, moderate blue. Relative luminance 0.059; OKLCH L 39.5% C 0.120 H 265.6°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#274186
RGBrgb(39, 65, 134)
HSLhsl(224, 55%, 34%)
HSVhsv(224, 71%, 53%)
CMYKcmyk(70.9%, 51.5%, 0%, 47.5%)
CIE-LABlab(29.24, 14.86, -41.67)
CIE-LCHlch(29.24, 44.24, 289.63°)
OKLaboklab(39.53% -0.0091 -0.1196)
OKLCHoklch(39.53% 0.12 265.6)
XYZxyz(7.0286, 5.9325, 23.3243)
Luminance0.0593 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274186 #866C27
analogous
#277186 #274186 #3D2786
triadic
#274186 #862741 #418627
tetradic
#274186 #862771 #866C27 #27863D
square
#274186 #862771 #866C27 #27863D
split-complementary
#274186 #863D27 #718627
monochromatic
#0B1327 #192A57 #274186 #3558B5 #5979CF

Accessibility & contrast

On white

9.60
#274186 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#274186 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274186
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274186#FFFFFF#000000##FFFFFF
##2741861.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194988
Deuteranopia (green-blind)
#004185
Tritanopia (blue-blind)
#00515D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #274186;
/* rgb */ color: rgb(39, 65, 134);
/* oklch */ color: oklch(39.5% 0.120 265.6);
Tailwind
colors: {
  custom: {
    50: '#6d75aa',
    500: '#274186',
    950: '#000000',
  },
}
SCSS
$custom: #274186;
$custom-light: #6d75aa;
$custom-dark: #000000;
JSON
{
  "hex": "#274186",
  "rgb": {
    "r": 39,
    "g": 65,
    "b": 134
  },
  "hsl": {
    "h": 223.579,
    "s": 54.913,
    "l": 33.922
  },
  "oklch": {
    "l": 0.39529,
    "c": 0.11993,
    "h": 265.6
  },
  "luminance": 0.05933
}

Semantic roles & 50–950 ramp

primary
#274186
secondary
#B49A55
accent
#B64ADE
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #274186

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

Preview Lab → · Contrast checker → · Palette generator →

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