#274BA1#274BA1

#274BA1 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 43.8% C 0.146 H 264.1°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#274BA1
RGBrgb(39, 75, 161)
HSLhsl(222, 61%, 39%)
HSVhsv(222, 76%, 63%)
CMYKcmyk(75.8%, 53.4%, 0%, 36.9%)
CIE-LABlab(34.06, 18.56, -50.37)
CIE-LCHlch(34.06, 53.68, 290.23°)
OKLaboklab(43.81% -0.0149 -0.145)
OKLCHoklch(43.81% 0.146 264.1)
XYZxyz(9.7835, 8.0356, 34.7467)
Luminance0.0804 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274BA1 #A17D27
analogous
#2788A1 #274BA1 #4027A1
triadic
#274BA1 #A1274B #4BA127
tetradic
#274BA1 #A12788 #A17D27 #27A140
square
#274BA1 #A12788 #A17D27 #27A140
split-complementary
#274BA1 #A14027 #88A127
monochromatic
#0F1D3E #1B3470 #274BA1 #3764CE #688ADA

Accessibility & contrast

On white

8.05
#274BA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#274BA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274BA1
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274BA1#FFFFFF#000000##FFFFFF
##274BA11.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D56A4
Deuteranopia (green-blind)
#004B9F
Tritanopia (blue-blind)
#00606E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #274ba1;
/* rgb */ color: rgb(39, 75, 161);
/* oklch */ color: oklch(43.8% 0.146 264.1);
Tailwind
colors: {
  custom: {
    50: '#737cbd',
    500: '#274ba1',
    950: '#000000',
  },
}
SCSS
$custom: #274ba1;
$custom-light: #737cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#274ba1",
  "rgb": {
    "r": 39,
    "g": 75,
    "b": 161
  },
  "hsl": {
    "h": 222.295,
    "s": 61,
    "l": 39.216
  },
  "oklch": {
    "l": 0.43809,
    "c": 0.14577,
    "h": 264.1
  },
  "luminance": 0.08037
}

Semantic roles & 50–950 ramp

primary
#274BA1
secondary
#C0A563
accent
#B544E4
background
#F7F7FB
surface
#EDEEF7
border
#C8C9D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #274BA1

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

Preview Lab → · Contrast checker → · Palette generator →

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