#274E9A#274E9A

#274E9A is a dark, vivid blue. Relative luminance 0.082; OKLCH L 43.9% C 0.132 H 262.0°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#274E9A
RGBrgb(39, 78, 154)
HSLhsl(220, 60%, 38%)
HSVhsv(220, 75%, 60%)
CMYKcmyk(74.7%, 49.4%, 0%, 39.6%)
CIE-LABlab(34.42, 13.82, -45.56)
CIE-LCHlch(34.42, 47.61, 286.88°)
OKLaboklab(43.93% -0.0183 -0.1308)
OKLCHoklch(43.93% 0.132 262)
XYZxyz(9.3917, 8.2122, 31.6557)
Luminance0.0821 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274E9A #9A7327
analogous
#27879A #274E9A #39279A
triadic
#274E9A #9A274E #4E9A27
tetradic
#274E9A #9A2787 #9A7327 #279A39
square
#274E9A #9A2787 #9A7327 #279A39
split-complementary
#274E9A #9A3927 #879A27
monochromatic
#0E1D38 #1B3569 #274E9A #3367CB #648BD8

Accessibility & contrast

On white

7.95
#274E9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#274E9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274E9A
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274E9A#FFFFFF#000000##FFFFFF
##274E9A1.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23579D
Deuteranopia (green-blind)
#004C98
Tritanopia (blue-blind)
#00606C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #274e9a;
/* rgb */ color: rgb(39, 78, 154);
/* oklch */ color: oklch(43.9% 0.132 262.0);
Tailwind
colors: {
  custom: {
    50: '#717fb8',
    500: '#274e9a',
    950: '#000000',
  },
}
SCSS
$custom: #274e9a;
$custom-light: #717fb8;
$custom-dark: #000000;
JSON
{
  "hex": "#274e9a",
  "rgb": {
    "r": 39,
    "g": 78,
    "b": 154
  },
  "hsl": {
    "h": 219.652,
    "s": 59.585,
    "l": 37.843
  },
  "oklch": {
    "l": 0.43929,
    "c": 0.13208,
    "h": 262
  },
  "luminance": 0.08213
}

Semantic roles & 50–950 ramp

primary
#274E9A
secondary
#BD9E5F
accent
#AD45E3
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #274E9A

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

Preview Lab → · Contrast checker → · Palette generator →

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