#274379#274379

#274379 is a dark, moderate blue. Relative luminance 0.058; OKLCH L 39.0% C 0.098 H 262.2°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#274379
RGBrgb(39, 67, 121)
HSLhsl(220, 51%, 31%)
HSVhsv(220, 68%, 47%)
CMYKcmyk(67.8%, 44.6%, 0%, 52.5%)
CIE-LABlab(28.97, 8.46, -33.99)
CIE-LCHlch(28.97, 35.03, 283.97°)
OKLaboklab(39.04% -0.0133 -0.097)
OKLCHoklch(39.04% 0.098 262.2)
XYZxyz(6.2938, 5.8255, 18.8782)
Luminance0.0583 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274379 #795D27
analogous
#276C79 #274379 #342779
triadic
#274379 #792743 #437927
tetradic
#274379 #79276C #795D27 #277934
square
#274379 #79276C #795D27 #277934
split-complementary
#274379 #793427 #6C7927
monochromatic
#09101C #18294B #274379 #365DA7 #537BC8

Accessibility & contrast

On white

9.70
#274379 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #274379
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274379#FFFFFF#000000##FFFFFF
##2743791.009.702.179.70
#FFFFFF9.701.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A487B
Deuteranopia (green-blind)
#1D4178
Tritanopia (blue-blind)
#004F58
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #274379;
/* rgb */ color: rgb(39, 67, 121);
/* oklch */ color: oklch(39.0% 0.098 262.2);
Tailwind
colors: {
  custom: {
    50: '#6b76a0',
    500: '#274379',
    950: '#000000',
  },
}
SCSS
$custom: #274379;
$custom-light: #6b76a0;
$custom-dark: #000000;
JSON
{
  "hex": "#274379",
  "rgb": {
    "r": 39,
    "g": 67,
    "b": 121
  },
  "hsl": {
    "h": 219.512,
    "s": 51.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.39039,
    "c": 0.09789,
    "h": 262.2
  },
  "luminance": 0.05826
}

Semantic roles & 50–950 ramp

primary
#274379
secondary
#AB8C51
accent
#AA4DDB
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07080F
muted
#7A7B7E

Preview Lab

Preview with #274379

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

Preview Lab → · Contrast checker → · Palette generator →

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