#274F94#274F94

#274F94 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 43.7% C 0.122 H 260.5°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#274F94
RGBrgb(39, 79, 148)
HSLhsl(218, 58%, 37%)
HSVhsv(218, 74%, 58%)
CMYKcmyk(73.6%, 46.6%, 0%, 42%)
CIE-LABlab(34.31, 10.82, -42.10)
CIE-LCHlch(34.31, 43.47, 284.41°)
OKLaboklab(43.72% -0.0202 -0.1206)
OKLCHoklch(43.72% 0.122 260.5)
XYZxyz(8.9761, 8.1605, 29.1133)
Luminance0.0816 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274F94 #946C27
analogous
#278694 #274F94 #362794
triadic
#274F94 #94274F #4F9427
tetradic
#274F94 #942786 #946C27 #279436
square
#274F94 #942786 #946C27 #279436
split-complementary
#274F94 #943627 #869427
monochromatic
#0D1B33 #1A3564 #274F94 #3469C4 #608BD5

Accessibility & contrast

On white

7.98
#274F94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#274F94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274F94
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274F94#FFFFFF#000000##FFFFFF
##274F941.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5697
Deuteranopia (green-blind)
#144C93
Tritanopia (blue-blind)
#005F6A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #274f94;
/* rgb */ color: rgb(39, 79, 148);
/* oklch */ color: oklch(43.7% 0.122 260.5);
Tailwind
colors: {
  custom: {
    50: '#707fb4',
    500: '#274f94',
    950: '#000000',
  },
}
SCSS
$custom: #274f94;
$custom-light: #707fb4;
$custom-dark: #000000;
JSON
{
  "hex": "#274f94",
  "rgb": {
    "r": 39,
    "g": 79,
    "b": 148
  },
  "hsl": {
    "h": 217.982,
    "s": 58.289,
    "l": 36.667
  },
  "oklch": {
    "l": 0.43719,
    "c": 0.12228,
    "h": 260.5
  },
  "luminance": 0.08161
}

Semantic roles & 50–950 ramp

primary
#274F94
secondary
#BB985C
accent
#A946E2
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #274F94

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

Preview Lab → · Contrast checker → · Palette generator →

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