#274898#274898

#274898 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.5% C 0.137 H 264.4°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#274898
RGBrgb(39, 72, 152)
HSLhsl(222, 59%, 37%)
HSVhsv(222, 74%, 60%)
CMYKcmyk(74.3%, 52.6%, 0%, 40.4%)
CIE-LABlab(32.55, 17.09, -47.37)
CIE-LCHlch(32.55, 50.36, 289.84°)
OKLaboklab(42.46% -0.0133 -0.1362)
OKLCHoklch(42.46% 0.137 264.4)
XYZxyz(8.8196, 7.3321, 30.6501)
Luminance0.0733 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274898 #987727
analogous
#278098 #274898 #3F2798
triadic
#274898 #982748 #489827
tetradic
#274898 #982780 #987727 #27983F
square
#274898 #982780 #987727 #27983F
split-complementary
#274898 #983F27 #809827
monochromatic
#0E1A37 #1B3167 #274898 #335FC9 #6385D7

Accessibility & contrast

On white

8.51
#274898 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#274898 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274898
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274898#FFFFFF#000000##FFFFFF
##2748981.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14529B
Deuteranopia (green-blind)
#004896
Tritanopia (blue-blind)
#005B69
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #274898;
/* rgb */ color: rgb(39, 72, 152);
/* oklch */ color: oklch(42.5% 0.137 264.4);
Tailwind
colors: {
  custom: {
    50: '#717ab7',
    500: '#274898',
    950: '#000000',
  },
}
SCSS
$custom: #274898;
$custom-light: #717ab7;
$custom-dark: #000000;
JSON
{
  "hex": "#274898",
  "rgb": {
    "r": 39,
    "g": 72,
    "b": 152
  },
  "hsl": {
    "h": 222.478,
    "s": 59.162,
    "l": 37.451
  },
  "oklch": {
    "l": 0.42458,
    "c": 0.13688,
    "h": 264.4
  },
  "luminance": 0.07333
}

Semantic roles & 50–950 ramp

primary
#274898
secondary
#BCA15E
accent
#B545E2
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #274898

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

Preview Lab → · Contrast checker → · Palette generator →

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