#274EB3#274EB3

#274EB3 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.9% C 0.167 H 264.6°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#274EB3
RGBrgb(39, 78, 179)
HSLhsl(223, 64%, 43%)
HSVhsv(223, 78%, 70%)
CMYKcmyk(78.2%, 56.4%, 0%, 29.8%)
CIE-LABlab(36.24, 23.52, -57.55)
CIE-LCHlch(36.24, 62.17, 292.23°)
OKLaboklab(45.89% -0.0157 -0.1661)
OKLCHoklch(45.89% 0.167 264.6)
XYZxyz(11.6949, 9.1334, 43.7857)
Luminance0.0914 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274EB3 #B38C27
analogous
#2794B3 #274EB3 #4627B3
triadic
#274EB3 #B3274E #4EB327
tetradic
#274EB3 #B32794 #B38C27 #27B346
square
#274EB3 #B32794 #B38C27 #27B346
split-complementary
#274EB3 #B34627 #94B327
monochromatic
#11224E #1C3881 #274EB3 #416BD6 #7492E1

Accessibility & contrast

On white

7.43
#274EB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#274EB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274EB3
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274EB3#FFFFFF#000000##FFFFFF
##274EB31.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB6
Deuteranopia (green-blind)
#004FB1
Tritanopia (blue-blind)
#006779
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #274eb3;
/* rgb */ color: rgb(39, 78, 179);
/* oklch */ color: oklch(45.9% 0.167 264.6);
Tailwind
colors: {
  custom: {
    50: '#777fcb',
    500: '#274eb3',
    950: '#000000',
  },
}
SCSS
$custom: #274eb3;
$custom-light: #777fcb;
$custom-dark: #000000;
JSON
{
  "hex": "#274eb3",
  "rgb": {
    "r": 39,
    "g": 78,
    "b": 179
  },
  "hsl": {
    "h": 223.286,
    "s": 64.22,
    "l": 42.745
  },
  "oklch": {
    "l": 0.45887,
    "c": 0.16683,
    "h": 264.6
  },
  "luminance": 0.09135
}

Semantic roles & 50–950 ramp

primary
#274EB3
secondary
#C8AF6E
accent
#B941E7
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #274EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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