#274497#274497

#274497 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.5% C 0.141 H 265.9°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#274497
RGBrgb(39, 68, 151)
HSLhsl(224, 59%, 37%)
HSVhsv(224, 74%, 59%)
CMYKcmyk(74.2%, 55%, 0%, 40.8%)
CIE-LABlab(31.34, 19.42, -48.71)
CIE-LCHlch(31.34, 52.44, 291.73°)
OKLaboklab(41.52% -0.01 -0.1403)
OKLCHoklch(41.52% 0.141 265.9)
XYZxyz(8.4878, 6.7990, 30.1372)
Luminance0.0680 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274497 #977A27
analogous
#277C97 #274497 #422797
triadic
#274497 #972744 #449727
tetradic
#274497 #97277C #977A27 #279742
square
#274497 #97277C #977A27 #279742
split-complementary
#274497 #974227 #7C9727
monochromatic
#0E1836 #1A2E66 #274497 #345AC8 #6280D6

Accessibility & contrast

On white

8.90
#274497 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#274497 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274497
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274497#FFFFFF#000000##FFFFFF
##2744971.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#024F9A
Deuteranopia (green-blind)
#004595
Tritanopia (blue-blind)
#005866
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #274497;
/* rgb */ color: rgb(39, 68, 151);
/* oklch */ color: oklch(41.5% 0.141 265.9);
Tailwind
colors: {
  custom: {
    50: '#7177b6',
    500: '#274497',
    950: '#000000',
  },
}
SCSS
$custom: #274497;
$custom-light: #7177b6;
$custom-dark: #000000;
JSON
{
  "hex": "#274497",
  "rgb": {
    "r": 39,
    "g": 68,
    "b": 151
  },
  "hsl": {
    "h": 224.464,
    "s": 58.947,
    "l": 37.255
  },
  "oklch": {
    "l": 0.4152,
    "c": 0.14062,
    "h": 265.9
  },
  "luminance": 0.068
}

Semantic roles & 50–950 ramp

primary
#274497
secondary
#BCA45E
accent
#BA46E2
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #274497

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

Preview Lab → · Contrast checker → · Palette generator →

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