#274166#274166

#274166 is a dark, moderate blue. Relative luminance 0.052; OKLCH L 37.3% C 0.072 H 257.3°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#274166
RGBrgb(39, 65, 102)
HSLhsl(215, 45%, 28%)
HSVhsv(215, 62%, 40%)
CMYKcmyk(61.8%, 36.3%, 0%, 60%)
CIE-LABlab(27.22, 2.61, -24.71)
CIE-LCHlch(27.22, 24.85, 276.03°)
OKLaboklab(37.31% -0.0157 -0.0698)
OKLCHoklch(37.31% 0.072 257.3)
XYZxyz(5.1244, 5.1708, 13.2958)
Luminance0.0517 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274166 #664C27
analogous
#276066 #274166 #2C2766
triadic
#274166 #662741 #416627
tetradic
#274166 #662760 #664C27 #27662C
square
#274166 #662760 #664C27 #27662C
split-complementary
#274166 #662C27 #606627
monochromatic
#080E16 #16253A #274166 #385D92 #4D7ABB

Accessibility & contrast

On white

10.32
#274166 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#274166 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274166
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274166#FFFFFF#000000##FFFFFF
##2741661.0010.322.0310.32
#FFFFFF10.321.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324468
Deuteranopia (green-blind)
#293E65
Tritanopia (blue-blind)
#00494E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #274166;
/* rgb */ color: rgb(39, 65, 102);
/* oklch */ color: oklch(37.3% 0.072 257.3);
Tailwind
colors: {
  custom: {
    50: '#677592',
    500: '#274166',
    950: '#000000',
  },
}
SCSS
$custom: #274166;
$custom-light: #677592;
$custom-dark: #000000;
JSON
{
  "hex": "#274166",
  "rgb": {
    "r": 39,
    "g": 65,
    "b": 102
  },
  "hsl": {
    "h": 215.238,
    "s": 44.681,
    "l": 27.647
  },
  "oklch": {
    "l": 0.37314,
    "c": 0.0716,
    "h": 257.3
  },
  "luminance": 0.05171
}

Semantic roles & 50–950 ramp

primary
#274166
secondary
#997B50
accent
#9F53D4
background
#F6F7F8
surface
#EBEDF0
border
#C6C8CB
text
#06080D
muted
#7A7B7D

Preview Lab

Preview with #274166

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

Preview Lab → · Contrast checker → · Palette generator →

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