#274BA2#274BA2

#274BA2 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 43.9% C 0.147 H 264.2°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#274BA2
RGBrgb(39, 75, 162)
HSLhsl(222, 61%, 39%)
HSVhsv(222, 76%, 64%)
CMYKcmyk(75.9%, 53.7%, 0%, 36.5%)
CIE-LABlab(34.13, 18.95, -50.85)
CIE-LCHlch(34.13, 54.27, 290.44°)
OKLaboklab(43.89% -0.0148 -0.1464)
OKLCHoklch(43.89% 0.147 264.2)
XYZxyz(9.8721, 8.0710, 35.2130)
Luminance0.0807 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274BA2 #A27E27
analogous
#2789A2 #274BA2 #4127A2
triadic
#274BA2 #A2274B #4BA227
tetradic
#274BA2 #A22789 #A27E27 #27A241
square
#274BA2 #A22789 #A27E27 #27A241
split-complementary
#274BA2 #A24127 #89A227
monochromatic
#0F1D3F #1B3471 #274BA2 #3764CF #698ADB

Accessibility & contrast

On white

8.03
#274BA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #274BA2
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274BA2#FFFFFF#000000##FFFFFF
##274BA21.008.032.618.03
#FFFFFF8.031.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A56A5
Deuteranopia (green-blind)
#004BA0
Tritanopia (blue-blind)
#00606F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #274ba2;
/* rgb */ color: rgb(39, 75, 162);
/* oklch */ color: oklch(43.9% 0.147 264.2);
Tailwind
colors: {
  custom: {
    50: '#737cbe',
    500: '#274ba2',
    950: '#000000',
  },
}
SCSS
$custom: #274ba2;
$custom-light: #737cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#274ba2",
  "rgb": {
    "r": 39,
    "g": 75,
    "b": 162
  },
  "hsl": {
    "h": 222.439,
    "s": 61.194,
    "l": 39.412
  },
  "oklch": {
    "l": 0.43888,
    "c": 0.14717,
    "h": 264.2
  },
  "luminance": 0.08072
}

Semantic roles & 50–950 ramp

primary
#274BA2
secondary
#C1A664
accent
#B543E4
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #274BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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