#254CBE#254CBE

#254CBE is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.3% C 0.184 H 265.2°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#254CBE
RGBrgb(37, 76, 190)
HSLhsl(225, 67%, 45%)
HSVhsv(225, 81%, 75%)
CMYKcmyk(80.5%, 60%, 0%, 25.5%)
CIE-LABlab(36.51, 28.85, -63.58)
CIE-LCHlch(36.51, 69.82, 294.40°)
OKLaboklab(46.35% -0.0154 -0.1839)
OKLCHoklch(46.35% 0.185 265.2)
XYZxyz(12.6384, 9.2784, 49.8300)
Luminance0.0928 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254CBE #BE9725
analogous
#2599BE #254CBE #4B25BE
triadic
#254CBE #BE254C #4CBE25
tetradic
#254CBE #BE2599 #BE9725 #25BE4B
square
#254CBE #BE2599 #BE9725 #25BE4B
split-complementary
#254CBE #BE4B25 #99BE25
monochromatic
#112358 #1B388B #254CBE #456BDB #7994E5

Accessibility & contrast

On white

7.35
#254CBE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#254CBE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254CBE
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254CBE#FFFFFF#000000##FFFFFF
##254CBE1.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC2
Deuteranopia (green-blind)
#004FBC
Tritanopia (blue-blind)
#00697D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #254cbe;
/* rgb */ color: rgb(37, 76, 190);
/* oklch */ color: oklch(46.3% 0.184 265.2);
Tailwind
colors: {
  custom: {
    50: '#797dd3',
    500: '#254cbe',
    950: '#000000',
  },
}
SCSS
$custom: #254cbe;
$custom-light: #797dd3;
$custom-dark: #000000;
JSON
{
  "hex": "#254cbe",
  "rgb": {
    "r": 37,
    "g": 76,
    "b": 190
  },
  "hsl": {
    "h": 224.706,
    "s": 67.401,
    "l": 44.51
  },
  "oklch": {
    "l": 0.46347,
    "c": 0.1845,
    "h": 265.2
  },
  "luminance": 0.0928
}

Semantic roles & 50–950 ramp

primary
#254CBE
secondary
#CDB672
accent
#BE3EEA
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0914
muted
#7C7B83

Preview Lab

Preview with #254CBE

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

Preview Lab → · Contrast checker → · Palette generator →

#254CBE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva