#274F9D#274F9D

#274F9D is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.4% C 0.135 H 262.0°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#274F9D
RGBrgb(39, 79, 157)
HSLhsl(220, 60%, 38%)
HSVhsv(220, 75%, 62%)
CMYKcmyk(75.2%, 49.7%, 0%, 38.4%)
CIE-LABlab(34.92, 14.32, -46.57)
CIE-LCHlch(34.92, 48.73, 287.09°)
OKLaboklab(44.37% -0.0187 -0.1338)
OKLCHoklch(44.37% 0.135 262)
XYZxyz(9.7163, 8.4566, 33.0120)
Luminance0.0846 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274F9D #9D7527
analogous
#278A9D #274F9D #3A279D
triadic
#274F9D #9D274F #4F9D27
tetradic
#274F9D #9D278A #9D7527 #279D3A
square
#274F9D #9D278A #9D7527 #279D3A
split-complementary
#274F9D #9D3A27 #8A9D27
monochromatic
#0F1E3B #1B366C #274F9D #3568CD #668DD9

Accessibility & contrast

On white

7.80
#274F9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#274F9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274F9D
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274F9D#FFFFFF#000000##FFFFFF
##274F9D1.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2258A0
Deuteranopia (green-blind)
#004D9B
Tritanopia (blue-blind)
#00626E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #274f9d;
/* rgb */ color: rgb(39, 79, 157);
/* oklch */ color: oklch(44.4% 0.135 262.0);
Tailwind
colors: {
  custom: {
    50: '#727fba',
    500: '#274f9d',
    950: '#000000',
  },
}
SCSS
$custom: #274f9d;
$custom-light: #727fba;
$custom-dark: #000000;
JSON
{
  "hex": "#274f9d",
  "rgb": {
    "r": 39,
    "g": 79,
    "b": 157
  },
  "hsl": {
    "h": 219.661,
    "s": 60.204,
    "l": 38.431
  },
  "oklch": {
    "l": 0.44373,
    "c": 0.13507,
    "h": 262
  },
  "luminance": 0.08458
}

Semantic roles & 50–950 ramp

primary
#274F9D
secondary
#BF9F61
accent
#AD44E3
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #274F9D

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

Preview Lab → · Contrast checker → · Palette generator →

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