#274AAF#274AAF

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

Color values

HEX#274AAF
RGBrgb(39, 74, 175)
HSLhsl(225, 64%, 42%)
HSVhsv(225, 78%, 69%)
CMYKcmyk(77.7%, 57.7%, 0%, 31.4%)
CIE-LABlab(34.85, 24.64, -57.45)
CIE-LCHlch(34.85, 62.51, 293.22°)
OKLaboklab(44.74% -0.0131 -0.1658)
OKLCHoklch(44.74% 0.166 265.5)
XYZxyz(11.0206, 8.4228, 41.5941)
Luminance0.0842 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274AAF #AF8C27
analogous
#278EAF #274AAF #4827AF
triadic
#274AAF #AF274A #4AAF27
tetradic
#274AAF #AF278E #AF8C27 #27AF48
square
#274AAF #AF278E #AF8C27 #27AF48
split-complementary
#274AAF #AF4827 #8EAF27
monochromatic
#11204B #1C357D #274AAF #3F65D4 #718DDF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##274AAF#FFFFFF#000000##FFFFFF
##274AAF1.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)
#0058B2
Deuteranopia (green-blind)
#004CAD
Tritanopia (blue-blind)
#006375
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #274aaf;
/* rgb */ color: rgb(39, 74, 175);
/* oklch */ color: oklch(44.7% 0.166 265.5);
Tailwind
colors: {
  custom: {
    50: '#767cc8',
    500: '#274aaf',
    950: '#000000',
  },
}
SCSS
$custom: #274aaf;
$custom-light: #767cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#274aaf",
  "rgb": {
    "r": 39,
    "g": 74,
    "b": 175
  },
  "hsl": {
    "h": 224.559,
    "s": 63.551,
    "l": 41.961
  },
  "oklch": {
    "l": 0.44742,
    "c": 0.16636,
    "h": 265.5
  },
  "luminance": 0.08424
}

Semantic roles & 50–950 ramp

primary
#274AAF
secondary
#C6AF6B
accent
#BC41E7
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #274AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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