#274DBC#274DBC

#274DBC is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.4% C 0.180 H 265.4°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#274DBC
RGBrgb(39, 77, 188)
HSLhsl(225, 66%, 45%)
HSVhsv(225, 79%, 74%)
CMYKcmyk(79.3%, 59%, 0%, 26.3%)
CIE-LABlab(36.68, 27.62, -62.13)
CIE-LCHlch(36.68, 67.99, 293.97°)
OKLaboklab(46.44% -0.0146 -0.1795)
OKLCHoklch(46.44% 0.18 265.4)
XYZxyz(12.5645, 9.3685, 48.7133)
Luminance0.0937 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274DBC #BC9627
analogous
#2798BC #274DBC #4C27BC
triadic
#274DBC #BC274D #4DBC27
tetradic
#274DBC #BC2798 #BC9627 #27BC4C
square
#274DBC #BC2798 #BC9627 #27BC4C
split-complementary
#274DBC #BC4C27 #98BC27
monochromatic
#122357 #1C3889 #274DBC #476CD9 #7A95E3

Accessibility & contrast

On white

7.31
#274DBC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#274DBC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274DBC
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274DBC#FFFFFF#000000##FFFFFF
##274DBC1.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC0
Deuteranopia (green-blind)
#0050BA
Tritanopia (blue-blind)
#00697D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #274dbc;
/* rgb */ color: rgb(39, 77, 188);
/* oklch */ color: oklch(46.4% 0.180 265.4);
Tailwind
colors: {
  custom: {
    50: '#797ed1',
    500: '#274dbc',
    950: '#000000',
  },
}
SCSS
$custom: #274dbc;
$custom-light: #797ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#274dbc",
  "rgb": {
    "r": 39,
    "g": 77,
    "b": 188
  },
  "hsl": {
    "h": 224.698,
    "s": 65.639,
    "l": 44.51
  },
  "oklch": {
    "l": 0.46443,
    "c": 0.18014,
    "h": 265.4
  },
  "luminance": 0.0937
}

Semantic roles & 50–950 ramp

primary
#274DBC
secondary
#CBB573
accent
#BD3FE9
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #274DBC

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

Preview Lab → · Contrast checker → · Palette generator →

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