#274F99#274F99

#274F99 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.1% C 0.129 H 261.4°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#274F99
RGBrgb(39, 79, 153)
HSLhsl(219, 59%, 38%)
HSVhsv(219, 75%, 60%)
CMYKcmyk(74.5%, 48.4%, 0%, 40%)
CIE-LABlab(34.65, 12.77, -44.60)
CIE-LCHlch(34.65, 46.39, 285.97°)
OKLaboklab(44.08% -0.0193 -0.1279)
OKLCHoklch(44.08% 0.129 261.4)
XYZxyz(9.3804, 8.3222, 31.2428)
Luminance0.0832 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274F99 #997127
analogous
#278899 #274F99 #382799
triadic
#274F99 #99274F #4F9927
tetradic
#274F99 #992788 #997127 #279938
square
#274F99 #992788 #997127 #279938
split-complementary
#274F99 #993827 #889927
monochromatic
#0E1D37 #1B3668 #274F99 #3368CA #638CD7

Accessibility & contrast

On white

7.88
#274F99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#274F99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274F99
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274F99#FFFFFF#000000##FFFFFF
##274F991.007.882.667.88
#FFFFFF7.881.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27579C
Deuteranopia (green-blind)
#074D98
Tritanopia (blue-blind)
#00606C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #274f99;
/* rgb */ color: rgb(39, 79, 153);
/* oklch */ color: oklch(44.1% 0.129 261.4);
Tailwind
colors: {
  custom: {
    50: '#717fb7',
    500: '#274f99',
    950: '#000000',
  },
}
SCSS
$custom: #274f99;
$custom-light: #717fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#274f99",
  "rgb": {
    "r": 39,
    "g": 79,
    "b": 153
  },
  "hsl": {
    "h": 218.947,
    "s": 59.375,
    "l": 37.647
  },
  "oklch": {
    "l": 0.44079,
    "c": 0.1294,
    "h": 261.4
  },
  "luminance": 0.08323
}

Semantic roles & 50–950 ramp

primary
#274F99
secondary
#BD9C5F
accent
#AB45E3
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #274F99

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

Preview Lab → · Contrast checker → · Palette generator →

#274F99 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva