#274479#274479

#274479 is a dark, moderate blue. Relative luminance 0.059; OKLCH L 39.3% C 0.097 H 261.4°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#274479
RGBrgb(39, 68, 121)
HSLhsl(219, 51%, 31%)
HSVhsv(219, 68%, 47%)
CMYKcmyk(67.8%, 43.8%, 0%, 52.5%)
CIE-LABlab(29.27, 7.78, -33.50)
CIE-LCHlch(29.27, 34.39, 283.07°)
OKLaboklab(39.28% -0.0144 -0.0955)
OKLCHoklch(39.28% 0.097 261.4)
XYZxyz(6.3538, 5.9454, 18.8982)
Luminance0.0595 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274479 #795C27
analogous
#276D79 #274479 #332779
triadic
#274479 #792744 #447927
tetradic
#274479 #79276D #795C27 #277933
square
#274479 #79276D #795C27 #277933
split-complementary
#274479 #793327 #6D7927
monochromatic
#09101C #182A4B #274479 #365EA7 #537CC8

Accessibility & contrast

On white

9.59
#274479 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #274479
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274479#FFFFFF#000000##FFFFFF
##2744791.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C497B
Deuteranopia (green-blind)
#1F4178
Tritanopia (blue-blind)
#005058
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #274479;
/* rgb */ color: rgb(39, 68, 121);
/* oklch */ color: oklch(39.3% 0.097 261.4);
Tailwind
colors: {
  custom: {
    50: '#6b77a0',
    500: '#274479',
    950: '#000000',
  },
}
SCSS
$custom: #274479;
$custom-light: #6b77a0;
$custom-dark: #000000;
JSON
{
  "hex": "#274479",
  "rgb": {
    "r": 39,
    "g": 68,
    "b": 121
  },
  "hsl": {
    "h": 218.78,
    "s": 51.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.39276,
    "c": 0.09661,
    "h": 261.4
  },
  "luminance": 0.05946
}

Semantic roles & 50–950 ramp

primary
#274479
secondary
#AB8B51
accent
#A94DDB
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07080F
muted
#7A7B7E

Preview Lab

Preview with #274479

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

Preview Lab → · Contrast checker → · Palette generator →

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