#274F9C#274F9C

#274F9C is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.3% C 0.134 H 261.9°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#274F9C
RGBrgb(39, 79, 156)
HSLhsl(219, 60%, 38%)
HSVhsv(219, 75%, 61%)
CMYKcmyk(75%, 49.4%, 0%, 38.8%)
CIE-LABlab(34.85, 13.93, -46.08)
CIE-LCHlch(34.85, 48.14, 286.82°)
OKLaboklab(44.3% -0.0188 -0.1323)
OKLCHoklch(44.3% 0.134 261.9)
XYZxyz(9.6313, 8.4225, 32.5642)
Luminance0.0842 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274F9C #9C7427
analogous
#27899C #274F9C #39279C
triadic
#274F9C #9C274F #4F9C27
tetradic
#274F9C #9C2789 #9C7427 #279C39
square
#274F9C #9C2789 #9C7427 #279C39
split-complementary
#274F9C #9C3927 #899C27
monochromatic
#0F1D3A #1B366B #274F9C #3468CC #658CD8

Accessibility & contrast

On white

7.82
#274F9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#274F9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274F9C
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274F9C#FFFFFF#000000##FFFFFF
##274F9C1.007.822.687.82
#FFFFFF7.821.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24589F
Deuteranopia (green-blind)
#004D9A
Tritanopia (blue-blind)
#00616E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #274f9c;
/* rgb */ color: rgb(39, 79, 156);
/* oklch */ color: oklch(44.3% 0.134 261.9);
Tailwind
colors: {
  custom: {
    50: '#727fba',
    500: '#274f9c',
    950: '#000000',
  },
}
SCSS
$custom: #274f9c;
$custom-light: #727fba;
$custom-dark: #000000;
JSON
{
  "hex": "#274f9c",
  "rgb": {
    "r": 39,
    "g": 79,
    "b": 156
  },
  "hsl": {
    "h": 219.487,
    "s": 60,
    "l": 38.235
  },
  "oklch": {
    "l": 0.44299,
    "c": 0.13366,
    "h": 261.9
  },
  "luminance": 0.08424
}

Semantic roles & 50–950 ramp

primary
#274F9C
secondary
#BE9E61
accent
#AD45E3
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #274F9C

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

Preview Lab → · Contrast checker → · Palette generator →

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