#274897#274897

#274897 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.4% C 0.135 H 264.3°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#274897
RGBrgb(39, 72, 151)
HSLhsl(222, 59%, 37%)
HSVhsv(222, 74%, 59%)
CMYKcmyk(74.2%, 52.3%, 0%, 40.8%)
CIE-LABlab(32.48, 16.70, -46.88)
CIE-LCHlch(32.48, 49.76, 289.61°)
OKLaboklab(42.38% -0.0134 -0.1348)
OKLCHoklch(42.38% 0.135 264.3)
XYZxyz(8.7380, 7.2995, 30.2206)
Luminance0.0730 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274897 #977627
analogous
#278097 #274897 #3E2797
triadic
#274897 #972748 #489727
tetradic
#274897 #972780 #977627 #27973E
square
#274897 #972780 #977627 #27973E
split-complementary
#274897 #973E27 #809727
monochromatic
#0E1A36 #1A3166 #274897 #345FC8 #6284D6

Accessibility & contrast

On white

8.54
#274897 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#274897 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274897
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274897#FFFFFF#000000##FFFFFF
##2748971.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16529A
Deuteranopia (green-blind)
#004895
Tritanopia (blue-blind)
#005B68
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #274897;
/* rgb */ color: rgb(39, 72, 151);
/* oklch */ color: oklch(42.4% 0.135 264.3);
Tailwind
colors: {
  custom: {
    50: '#717ab6',
    500: '#274897',
    950: '#000000',
  },
}
SCSS
$custom: #274897;
$custom-light: #717ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#274897",
  "rgb": {
    "r": 39,
    "g": 72,
    "b": 151
  },
  "hsl": {
    "h": 222.321,
    "s": 58.947,
    "l": 37.255
  },
  "oklch": {
    "l": 0.4238,
    "c": 0.13546,
    "h": 264.3
  },
  "luminance": 0.073
}

Semantic roles & 50–950 ramp

primary
#274897
secondary
#BCA05E
accent
#B446E2
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #274897

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

Preview Lab → · Contrast checker → · Palette generator →

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