#274BAF#274BAF

#274BAF is a dark, vivid blue. Relative luminance 0.086; OKLCH L 44.9% C 0.165 H 265.2°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#274BAF
RGBrgb(39, 75, 175)
HSLhsl(224, 64%, 42%)
HSVhsv(224, 78%, 69%)
CMYKcmyk(77.7%, 57.1%, 0%, 31.4%)
CIE-LABlab(35.12, 23.97, -57.01)
CIE-LCHlch(35.12, 61.85, 292.81°)
OKLaboklab(44.95% -0.0138 -0.1645)
OKLCHoklch(44.95% 0.165 265.2)
XYZxyz(11.0879, 8.5574, 41.6165)
Luminance0.0856 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274BAF #AF8B27
analogous
#278FAF #274BAF #4727AF
triadic
#274BAF #AF274B #4BAF27
tetradic
#274BAF #AF278F #AF8B27 #27AF47
square
#274BAF #AF278F #AF8B27 #27AF47
split-complementary
#274BAF #AF4727 #8FAF27
monochromatic
#11204B #1C367D #274BAF #3F66D4 #718EDF

Accessibility & contrast

On white

7.74
#274BAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#274BAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274BAF
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274BAF#FFFFFF#000000##FFFFFF
##274BAF1.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B2
Deuteranopia (green-blind)
#004DAD
Tritanopia (blue-blind)
#006475
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #274baf;
/* rgb */ color: rgb(39, 75, 175);
/* oklch */ color: oklch(44.9% 0.165 265.2);
Tailwind
colors: {
  custom: {
    50: '#767cc8',
    500: '#274baf',
    950: '#000000',
  },
}
SCSS
$custom: #274baf;
$custom-light: #767cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#274baf",
  "rgb": {
    "r": 39,
    "g": 75,
    "b": 175
  },
  "hsl": {
    "h": 224.118,
    "s": 63.551,
    "l": 41.961
  },
  "oklch": {
    "l": 0.44945,
    "c": 0.16512,
    "h": 265.2
  },
  "luminance": 0.08559
}

Semantic roles & 50–950 ramp

primary
#274BAF
secondary
#C6AE6B
accent
#BB41E7
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #274BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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