#274386#274386

#274386 is a dark, moderate blue. Relative luminance 0.062; OKLCH L 40.0% C 0.117 H 264.6°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#274386
RGBrgb(39, 67, 134)
HSLhsl(222, 55%, 34%)
HSVhsv(222, 71%, 53%)
CMYKcmyk(70.9%, 50%, 0%, 47.5%)
CIE-LABlab(29.83, 13.49, -40.72)
CIE-LCHlch(29.83, 42.90, 288.33°)
OKLaboklab(39.98% -0.011 -0.1168)
OKLCHoklch(39.98% 0.117 264.6)
XYZxyz(7.1454, 6.1662, 23.3633)
Luminance0.0617 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274386 #866A27
analogous
#277386 #274386 #3B2786
triadic
#274386 #862743 #438627
tetradic
#274386 #862773 #866A27 #27863B
square
#274386 #862773 #866A27 #27863B
split-complementary
#274386 #863B27 #738627
monochromatic
#0B1427 #192B57 #274386 #355BB5 #597CCF

Accessibility & contrast

On white

9.40
#274386 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #274386
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274386#FFFFFF#000000##FFFFFF
##2743861.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4B88
Deuteranopia (green-blind)
#054285
Tritanopia (blue-blind)
#00535E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #274386;
/* rgb */ color: rgb(39, 67, 134);
/* oklch */ color: oklch(40.0% 0.117 264.6);
Tailwind
colors: {
  custom: {
    50: '#6d76aa',
    500: '#274386',
    950: '#000000',
  },
}
SCSS
$custom: #274386;
$custom-light: #6d76aa;
$custom-dark: #000000;
JSON
{
  "hex": "#274386",
  "rgb": {
    "r": 39,
    "g": 67,
    "b": 134
  },
  "hsl": {
    "h": 222.316,
    "s": 54.913,
    "l": 33.922
  },
  "oklch": {
    "l": 0.39976,
    "c": 0.11729,
    "h": 264.6
  },
  "luminance": 0.06167
}

Semantic roles & 50–950 ramp

primary
#274386
secondary
#B49855
accent
#B24ADE
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #274386

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

Preview Lab → · Contrast checker → · Palette generator →

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