#274374#274374

#274374 is a dark, moderate blue. Relative luminance 0.057; OKLCH L 38.7% C 0.090 H 260.8°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#274374
RGBrgb(39, 67, 116)
HSLhsl(218, 50%, 30%)
HSVhsv(218, 66%, 45%)
CMYKcmyk(66.4%, 42.2%, 0%, 54.5%)
CIE-LABlab(28.66, 6.54, -31.34)
CIE-LCHlch(28.66, 32.01, 281.79°)
OKLaboklab(38.7% -0.0144 -0.0892)
OKLCHoklch(38.7% 0.09 260.8)
XYZxyz(5.9951, 5.7060, 17.3050)
Luminance0.0571 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274374 #745827
analogous
#276974 #274374 #322774
triadic
#274374 #742743 #437427
tetradic
#274374 #742769 #745827 #277432
square
#274374 #742769 #745827 #277432
split-complementary
#274374 #743227 #697427
monochromatic
#080E18 #182946 #274374 #365DA2 #517BC4

Accessibility & contrast

On white

9.81
#274374 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#274374 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274374
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274374#FFFFFF#000000##FFFFFF
##2743741.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4776
Deuteranopia (green-blind)
#224073
Tritanopia (blue-blind)
#004E56
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #274374;
/* rgb */ color: rgb(39, 67, 116);
/* oklch */ color: oklch(38.7% 0.090 260.8);
Tailwind
colors: {
  custom: {
    50: '#6a769c',
    500: '#274374',
    950: '#000000',
  },
}
SCSS
$custom: #274374;
$custom-light: #6a769c;
$custom-dark: #000000;
JSON
{
  "hex": "#274374",
  "rgb": {
    "r": 39,
    "g": 67,
    "b": 116
  },
  "hsl": {
    "h": 218.182,
    "s": 49.677,
    "l": 30.392
  },
  "oklch": {
    "l": 0.387,
    "c": 0.09035,
    "h": 260.8
  },
  "luminance": 0.05707
}

Semantic roles & 50–950 ramp

primary
#274374
secondary
#A68750
accent
#A74FD9
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #274374

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

Preview Lab → · Contrast checker → · Palette generator →

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