#274D9A#274D9A

#274D9A is a dark, vivid blue. Relative luminance 0.081; OKLCH L 43.7% C 0.133 H 262.5°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#274D9A
RGBrgb(39, 77, 154)
HSLhsl(220, 60%, 38%)
HSVhsv(220, 75%, 60%)
CMYKcmyk(74.7%, 50%, 0%, 39.6%)
CIE-LABlab(34.13, 14.50, -46.03)
CIE-LCHlch(34.13, 48.26, 287.48°)
OKLaboklab(43.71% -0.0174 -0.1322)
OKLCHoklch(43.71% 0.133 262.5)
XYZxyz(9.3212, 8.0712, 31.6322)
Luminance0.0807 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274D9A #9A7427
analogous
#27869A #274D9A #3B279A
triadic
#274D9A #9A274D #4D9A27
tetradic
#274D9A #9A2786 #9A7427 #279A3B
square
#274D9A #9A2786 #9A7427 #279A3B
split-complementary
#274D9A #9A3B27 #869A27
monochromatic
#0E1C38 #1B3569 #274D9A #3365CB #648AD8

Accessibility & contrast

On white

8.03
#274D9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#274D9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274D9A
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274D9A#FFFFFF#000000##FFFFFF
##274D9A1.008.032.618.03
#FFFFFF8.031.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21569D
Deuteranopia (green-blind)
#004B98
Tritanopia (blue-blind)
#005F6C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #274d9a;
/* rgb */ color: rgb(39, 77, 154);
/* oklch */ color: oklch(43.7% 0.133 262.5);
Tailwind
colors: {
  custom: {
    50: '#717eb8',
    500: '#274d9a',
    950: '#000000',
  },
}
SCSS
$custom: #274d9a;
$custom-light: #717eb8;
$custom-dark: #000000;
JSON
{
  "hex": "#274d9a",
  "rgb": {
    "r": 39,
    "g": 77,
    "b": 154
  },
  "hsl": {
    "h": 220.174,
    "s": 59.585,
    "l": 37.843
  },
  "oklch": {
    "l": 0.43707,
    "c": 0.13335,
    "h": 262.5
  },
  "luminance": 0.08072
}

Semantic roles & 50–950 ramp

primary
#274D9A
secondary
#BD9E5F
accent
#AF45E3
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #274D9A

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

Preview Lab → · Contrast checker → · Palette generator →

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