#274BAC#274BAC

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

Color values

HEX#274BAC
RGBrgb(39, 75, 172)
HSLhsl(224, 63%, 41%)
HSVhsv(224, 77%, 67%)
CMYKcmyk(77.3%, 56.4%, 0%, 32.5%)
CIE-LABlab(34.88, 22.82, -55.61)
CIE-LCHlch(34.88, 60.11, 292.31°)
OKLaboklab(44.7% -0.014 -0.1604)
OKLCHoklch(44.7% 0.161 265)
XYZxyz(10.7965, 8.4408, 40.0820)
Luminance0.0844 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274BAC #AC8827
analogous
#278EAC #274BAC #4527AC
triadic
#274BAC #AC274B #4BAC27
tetradic
#274BAC #AC278E #AC8827 #27AC45
square
#274BAC #AC278E #AC8827 #27AC45
split-complementary
#274BAC #AC4527 #8EAC27
monochromatic
#101F48 #1C357A #274BAC #3D66D3 #6F8DDE

Accessibility & contrast

On white

7.81
#274BAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #274BAC
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274BAC#FFFFFF#000000##FFFFFF
##274BAC1.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AF
Deuteranopia (green-blind)
#004CAA
Tritanopia (blue-blind)
#006374
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #274bac;
/* rgb */ color: rgb(39, 75, 172);
/* oklch */ color: oklch(44.7% 0.161 265.0);
Tailwind
colors: {
  custom: {
    50: '#767cc5',
    500: '#274bac',
    950: '#000000',
  },
}
SCSS
$custom: #274bac;
$custom-light: #767cc5;
$custom-dark: #000000;
JSON
{
  "hex": "#274bac",
  "rgb": {
    "r": 39,
    "g": 75,
    "b": 172
  },
  "hsl": {
    "h": 223.759,
    "s": 63.033,
    "l": 41.373
  },
  "oklch": {
    "l": 0.44696,
    "c": 0.16103,
    "h": 265
  },
  "luminance": 0.08442
}

Semantic roles & 50–950 ramp

primary
#274BAC
secondary
#C5AC6A
accent
#BA42E6
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #274BAC

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

Preview Lab → · Contrast checker → · Palette generator →

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