#274476#274476

#274476 is a dark, moderate blue. Relative luminance 0.059; OKLCH L 39.1% C 0.092 H 260.6°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#274476
RGBrgb(39, 68, 118)
HSLhsl(218, 50%, 31%)
HSVhsv(218, 67%, 46%)
CMYKcmyk(66.9%, 42.4%, 0%, 53.7%)
CIE-LABlab(29.09, 6.63, -31.91)
CIE-LCHlch(29.09, 32.59, 281.73°)
OKLaboklab(39.07% -0.0151 -0.0909)
OKLCHoklch(39.07% 0.092 260.6)
XYZxyz(6.1727, 5.8730, 17.9443)
Luminance0.0587 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274476 #765927
analogous
#276B76 #274476 #322776
triadic
#274476 #762744 #447627
tetradic
#274476 #76276B #765927 #277632
square
#274476 #76276B #765927 #277632
split-complementary
#274476 #763227 #6B7627
monochromatic
#090F1A #182948 #274476 #365FA4 #527CC6

Accessibility & contrast

On white

9.66
#274476 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#274476 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274476
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274476#FFFFFF#000000##FFFFFF
##2744761.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4978
Deuteranopia (green-blind)
#224175
Tritanopia (blue-blind)
#004F57
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #274476;
/* rgb */ color: rgb(39, 68, 118);
/* oklch */ color: oklch(39.1% 0.092 260.6);
Tailwind
colors: {
  custom: {
    50: '#6a779e',
    500: '#274476',
    950: '#000000',
  },
}
SCSS
$custom: #274476;
$custom-light: #6a779e;
$custom-dark: #000000;
JSON
{
  "hex": "#274476",
  "rgb": {
    "r": 39,
    "g": 68,
    "b": 118
  },
  "hsl": {
    "h": 217.975,
    "s": 50.318,
    "l": 30.784
  },
  "oklch": {
    "l": 0.39073,
    "c": 0.0921,
    "h": 260.6
  },
  "luminance": 0.05874
}

Semantic roles & 50–950 ramp

primary
#274476
secondary
#A88851
accent
#A64EDA
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #274476

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

Preview Lab → · Contrast checker → · Palette generator →

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