#274BB3#274BB3

#274BB3 is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.3% C 0.171 H 265.4°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#274BB3
RGBrgb(39, 75, 179)
HSLhsl(225, 64%, 43%)
HSVhsv(225, 78%, 70%)
CMYKcmyk(78.2%, 58.1%, 0%, 29.8%)
CIE-LABlab(35.43, 25.51, -58.87)
CIE-LCHlch(35.43, 64.16, 293.43°)
OKLaboklab(45.28% -0.0136 -0.17)
OKLCHoklch(45.28% 0.171 265.4)
XYZxyz(11.4866, 8.7168, 43.7162)
Luminance0.0872 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274BB3 #B38F27
analogous
#2791B3 #274BB3 #4927B3
triadic
#274BB3 #B3274B #4BB327
tetradic
#274BB3 #B32791 #B38F27 #27B349
square
#274BB3 #B32791 #B38F27 #27B349
split-complementary
#274BB3 #B34927 #91B327
monochromatic
#11214E #1C3681 #274BB3 #4168D6 #7490E1

Accessibility & contrast

On white

7.65
#274BB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#274BB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274BB3
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274BB3#FFFFFF#000000##FFFFFF
##274BB31.007.652.747.65
#FFFFFF7.651.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB7
Deuteranopia (green-blind)
#004DB1
Tritanopia (blue-blind)
#006577
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #274bb3;
/* rgb */ color: rgb(39, 75, 179);
/* oklch */ color: oklch(45.3% 0.171 265.4);
Tailwind
colors: {
  custom: {
    50: '#777ccb',
    500: '#274bb3',
    950: '#000000',
  },
}
SCSS
$custom: #274bb3;
$custom-light: #777ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#274bb3",
  "rgb": {
    "r": 39,
    "g": 75,
    "b": 179
  },
  "hsl": {
    "h": 224.571,
    "s": 64.22,
    "l": 42.745
  },
  "oklch": {
    "l": 0.45281,
    "c": 0.17054,
    "h": 265.4
  },
  "luminance": 0.08718
}

Semantic roles & 50–950 ramp

primary
#274BB3
secondary
#C8B16E
accent
#BC41E7
background
#F7F7FC
surface
#EEEEF9
border
#C9C9D2
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #274BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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