#274EB2#274EB2

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

Color values

HEX#274EB2
RGBrgb(39, 78, 178)
HSLhsl(223, 64%, 43%)
HSVhsv(223, 78%, 70%)
CMYKcmyk(78.1%, 56.2%, 0%, 30.2%)
CIE-LABlab(36.16, 23.13, -57.09)
CIE-LCHlch(36.16, 61.60, 292.06°)
OKLaboklab(45.81% -0.0157 -0.1647)
OKLCHoklch(45.81% 0.165 264.5)
XYZxyz(11.5941, 9.0931, 43.2549)
Luminance0.0909 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274EB2 #B28B27
analogous
#2794B2 #274EB2 #4527B2
triadic
#274EB2 #B2274E #4EB227
tetradic
#274EB2 #B22794 #B28B27 #27B245
square
#274EB2 #B22794 #B28B27 #27B245
split-complementary
#274EB2 #B24527 #94B227
monochromatic
#11224E #1C3880 #274EB2 #416BD5 #7392E0

Accessibility & contrast

On white

7.45
#274EB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #274EB2
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274EB2#FFFFFF#000000##FFFFFF
##274EB21.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB5
Deuteranopia (green-blind)
#004FB0
Tritanopia (blue-blind)
#006778
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #274eb2;
/* rgb */ color: rgb(39, 78, 178);
/* oklch */ color: oklch(45.8% 0.165 264.5);
Tailwind
colors: {
  custom: {
    50: '#777fca',
    500: '#274eb2',
    950: '#000000',
  },
}
SCSS
$custom: #274eb2;
$custom-light: #777fca;
$custom-dark: #000000;
JSON
{
  "hex": "#274eb2",
  "rgb": {
    "r": 39,
    "g": 78,
    "b": 178
  },
  "hsl": {
    "h": 223.165,
    "s": 64.055,
    "l": 42.549
  },
  "oklch": {
    "l": 0.45805,
    "c": 0.16547,
    "h": 264.5
  },
  "luminance": 0.09094
}

Semantic roles & 50–950 ramp

primary
#274EB2
secondary
#C8AE6D
accent
#B841E7
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #274EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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