#274A9D#274A9D

#274A9D is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.3% C 0.141 H 264.1°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#274A9D
RGBrgb(39, 74, 157)
HSLhsl(222, 60%, 38%)
HSVhsv(222, 75%, 62%)
CMYKcmyk(75.2%, 52.9%, 0%, 38.4%)
CIE-LABlab(33.48, 17.68, -48.89)
CIE-LCHlch(33.48, 51.99, 289.89°)
OKLaboklab(43.28% -0.0145 -0.1407)
OKLCHoklch(43.28% 0.141 264.1)
XYZxyz(9.3691, 7.7622, 32.8962)
Luminance0.0776 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274A9D #9D7A27
analogous
#27859D #274A9D #3F279D
triadic
#274A9D #9D274A #4A9D27
tetradic
#274A9D #9D2785 #9D7A27 #279D3F
square
#274A9D #9D2785 #9D7A27 #279D3F
split-complementary
#274A9D #9D3F27 #859D27
monochromatic
#0F1C3B #1B336C #274A9D #3562CD #6688D9

Accessibility & contrast

On white

8.23
#274A9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#274A9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274A9D
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274A9D#FFFFFF#000000##FFFFFF
##274A9D1.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1254A0
Deuteranopia (green-blind)
#004A9B
Tritanopia (blue-blind)
#005E6C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #274a9d;
/* rgb */ color: rgb(39, 74, 157);
/* oklch */ color: oklch(43.3% 0.141 264.1);
Tailwind
colors: {
  custom: {
    50: '#727cbb',
    500: '#274a9d',
    950: '#000000',
  },
}
SCSS
$custom: #274a9d;
$custom-light: #727cbb;
$custom-dark: #000000;
JSON
{
  "hex": "#274a9d",
  "rgb": {
    "r": 39,
    "g": 74,
    "b": 157
  },
  "hsl": {
    "h": 222.203,
    "s": 60.204,
    "l": 38.431
  },
  "oklch": {
    "l": 0.4328,
    "c": 0.14141,
    "h": 264.1
  },
  "luminance": 0.07763
}

Semantic roles & 50–950 ramp

primary
#274A9D
secondary
#BFA361
accent
#B444E3
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #274A9D

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

Preview Lab → · Contrast checker → · Palette generator →

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