#274CAB#274CAB

#274CAB is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.8% C 0.158 H 264.6°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#274CAB
RGBrgb(39, 76, 171)
HSLhsl(223, 63%, 41%)
HSVhsv(223, 77%, 67%)
CMYKcmyk(77.2%, 55.6%, 0%, 32.9%)
CIE-LABlab(35.08, 21.77, -54.69)
CIE-LCHlch(35.08, 58.86, 291.70°)
OKLaboklab(44.82% -0.0148 -0.1577)
OKLCHoklch(44.82% 0.158 264.6)
XYZxyz(10.7692, 8.5393, 39.6009)
Luminance0.0854 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274CAB #AB8627
analogous
#278EAB #274CAB #4427AB
triadic
#274CAB #AB274C #4CAB27
tetradic
#274CAB #AB278E #AB8627 #27AB44
square
#274CAB #AB278E #AB8627 #27AB44
split-complementary
#274CAB #AB4427 #8EAB27
monochromatic
#102047 #1C3679 #274CAB #3D67D3 #6E8EDE

Accessibility & contrast

On white

7.75
#274CAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #274CAB
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274CAB#FFFFFF#000000##FFFFFF
##274CAB1.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059AE
Deuteranopia (green-blind)
#004DA9
Tritanopia (blue-blind)
#006374
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #274cab;
/* rgb */ color: rgb(39, 76, 171);
/* oklch */ color: oklch(44.8% 0.158 264.6);
Tailwind
colors: {
  custom: {
    50: '#757dc5',
    500: '#274cab',
    950: '#000000',
  },
}
SCSS
$custom: #274cab;
$custom-light: #757dc5;
$custom-dark: #000000;
JSON
{
  "hex": "#274cab",
  "rgb": {
    "r": 39,
    "g": 76,
    "b": 171
  },
  "hsl": {
    "h": 223.182,
    "s": 62.857,
    "l": 41.176
  },
  "oklch": {
    "l": 0.44821,
    "c": 0.1584,
    "h": 264.6
  },
  "luminance": 0.0854
}

Semantic roles & 50–950 ramp

primary
#274CAB
secondary
#C5AB69
accent
#B842E6
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #274CAB

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

Preview Lab → · Contrast checker → · Palette generator →

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