#274FAF#274FAF

#274FAF is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.8% C 0.160 H 264.0°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#274FAF
RGBrgb(39, 79, 175)
HSLhsl(222, 64%, 42%)
HSVhsv(222, 78%, 69%)
CMYKcmyk(77.7%, 54.9%, 0%, 31.4%)
CIE-LABlab(36.21, 21.31, -55.24)
CIE-LCHlch(36.21, 59.21, 291.10°)
OKLaboklab(45.77% -0.0167 -0.1593)
OKLCHoklch(45.77% 0.16 264)
XYZxyz(11.3678, 9.1171, 41.7098)
Luminance0.0912 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274FAF #AF8727
analogous
#2793AF #274FAF #4327AF
triadic
#274FAF #AF274F #4FAF27
tetradic
#274FAF #AF2793 #AF8727 #27AF43
square
#274FAF #AF2793 #AF8727 #27AF43
split-complementary
#274FAF #AF4327 #93AF27
monochromatic
#11224B #1C387D #274FAF #3F6BD4 #7191DF

Accessibility & contrast

On white

7.44
#274FAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#274FAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274FAF
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274FAF#FFFFFF#000000##FFFFFF
##274FAF1.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB2
Deuteranopia (green-blind)
#004FAD
Tritanopia (blue-blind)
#006777
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #274faf;
/* rgb */ color: rgb(39, 79, 175);
/* oklch */ color: oklch(45.8% 0.160 264.0);
Tailwind
colors: {
  custom: {
    50: '#767fc8',
    500: '#274faf',
    950: '#000000',
  },
}
SCSS
$custom: #274faf;
$custom-light: #767fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#274faf",
  "rgb": {
    "r": 39,
    "g": 79,
    "b": 175
  },
  "hsl": {
    "h": 222.353,
    "s": 63.551,
    "l": 41.961
  },
  "oklch": {
    "l": 0.45767,
    "c": 0.16013,
    "h": 264
  },
  "luminance": 0.09118
}

Semantic roles & 50–950 ramp

primary
#274FAF
secondary
#C6AC6B
accent
#B641E7
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #274FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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