#274A9A#274A9A

#274A9A is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.0% C 0.137 H 263.8°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#274A9A
RGBrgb(39, 74, 154)
HSLhsl(222, 60%, 38%)
HSVhsv(222, 75%, 60%)
CMYKcmyk(74.7%, 51.9%, 0%, 39.6%)
CIE-LABlab(33.27, 16.52, -47.42)
CIE-LCHlch(33.27, 50.22, 289.20°)
OKLaboklab(43.05% -0.0148 -0.1364)
OKLCHoklch(43.05% 0.137 263.8)
XYZxyz(9.1161, 7.6610, 31.5639)
Luminance0.0766 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274A9A #9A7727
analogous
#27839A #274A9A #3D279A
triadic
#274A9A #9A274A #4A9A27
tetradic
#274A9A #9A2783 #9A7727 #279A3D
square
#274A9A #9A2783 #9A7727 #279A3D
split-complementary
#274A9A #9A3D27 #839A27
monochromatic
#0E1B38 #1B3369 #274A9A #3361CB #6487D8

Accessibility & contrast

On white

8.29
#274A9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#274A9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274A9A
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274A9A#FFFFFF#000000##FFFFFF
##274A9A1.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18549D
Deuteranopia (green-blind)
#004998
Tritanopia (blue-blind)
#005D6B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #274a9a;
/* rgb */ color: rgb(39, 74, 154);
/* oklch */ color: oklch(43.0% 0.137 263.8);
Tailwind
colors: {
  custom: {
    50: '#717cb8',
    500: '#274a9a',
    950: '#000000',
  },
}
SCSS
$custom: #274a9a;
$custom-light: #717cb8;
$custom-dark: #000000;
JSON
{
  "hex": "#274a9a",
  "rgb": {
    "r": 39,
    "g": 74,
    "b": 154
  },
  "hsl": {
    "h": 221.739,
    "s": 59.585,
    "l": 37.843
  },
  "oklch": {
    "l": 0.43047,
    "c": 0.13716,
    "h": 263.8
  },
  "luminance": 0.07662
}

Semantic roles & 50–950 ramp

primary
#274A9A
secondary
#BDA15F
accent
#B345E3
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #274A9A

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

Preview Lab → · Contrast checker → · Palette generator →

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