#274BBC#274BBC

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

Color values

HEX#274BBC
RGBrgb(39, 75, 188)
HSLhsl(226, 66%, 45%)
HSVhsv(226, 79%, 74%)
CMYKcmyk(79.3%, 60.1%, 0%, 26.3%)
CIE-LABlab(36.16, 28.93, -62.98)
CIE-LCHlch(36.16, 69.31, 294.67°)
OKLaboklab(46.05% -0.0133 -0.1821)
OKLCHoklch(46.05% 0.183 265.8)
XYZxyz(12.4267, 9.0929, 48.6674)
Luminance0.0909 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274BBC #BC9827
analogous
#2796BC #274BBC #4D27BC
triadic
#274BBC #BC274B #4BBC27
tetradic
#274BBC #BC2796 #BC9827 #27BC4D
square
#274BBC #BC2796 #BC9827 #27BC4D
split-complementary
#274BBC #BC4D27 #96BC27
monochromatic
#122357 #1C3789 #274BBC #476AD9 #7A93E3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##274BBC#FFFFFF#000000##FFFFFF
##274BBC1.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)
#005CC0
Deuteranopia (green-blind)
#004EBA
Tritanopia (blue-blind)
#00687C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #274bbc;
/* rgb */ color: rgb(39, 75, 188);
/* oklch */ color: oklch(46.1% 0.183 265.8);
Tailwind
colors: {
  custom: {
    50: '#7a7cd1',
    500: '#274bbc',
    950: '#000000',
  },
}
SCSS
$custom: #274bbc;
$custom-light: #7a7cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#274bbc",
  "rgb": {
    "r": 39,
    "g": 75,
    "b": 188
  },
  "hsl": {
    "h": 225.503,
    "s": 65.639,
    "l": 44.51
  },
  "oklch": {
    "l": 0.46053,
    "c": 0.18257,
    "h": 265.8
  },
  "luminance": 0.09094
}

Semantic roles & 50–950 ramp

primary
#274BBC
secondary
#CBB673
accent
#C03FE9
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0914
muted
#7C7B83

Preview Lab

Preview with #274BBC

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

Preview Lab → · Contrast checker → · Palette generator →

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