#254BBE#254BBE

#254BBE is a mid, vivid blue. Relative luminance 0.091; OKLCH L 46.2% C 0.186 H 265.4°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#254BBE
RGBrgb(37, 75, 190)
HSLhsl(225, 67%, 45%)
HSVhsv(225, 81%, 75%)
CMYKcmyk(80.5%, 60.5%, 0%, 25.5%)
CIE-LABlab(36.26, 29.50, -64.01)
CIE-LCHlch(36.26, 70.48, 294.75°)
OKLaboklab(46.15% -0.0148 -0.1851)
OKLCHoklch(46.15% 0.186 265.4)
XYZxyz(12.5700, 9.1417, 49.8072)
Luminance0.0914 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254BBE #BE9825
analogous
#2598BE #254BBE #4C25BE
triadic
#254BBE #BE254B #4BBE25
tetradic
#254BBE #BE2598 #BE9825 #25BE4C
square
#254BBE #BE2598 #BE9825 #25BE4C
split-complementary
#254BBE #BE4C25 #98BE25
monochromatic
#112358 #1B378B #254BBE #456ADB #7993E5

Accessibility & contrast

On white

7.42
#254BBE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#254BBE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254BBE
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254BBE#FFFFFF#000000##FFFFFF
##254BBE1.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #254bbe;
/* rgb */ color: rgb(37, 75, 190);
/* oklch */ color: oklch(46.2% 0.186 265.4);
Tailwind
colors: {
  custom: {
    50: '#797cd3',
    500: '#254bbe',
    950: '#000000',
  },
}
SCSS
$custom: #254bbe;
$custom-light: #797cd3;
$custom-dark: #000000;
JSON
{
  "hex": "#254bbe",
  "rgb": {
    "r": 37,
    "g": 75,
    "b": 190
  },
  "hsl": {
    "h": 225.098,
    "s": 67.401,
    "l": 44.51
  },
  "oklch": {
    "l": 0.46154,
    "c": 0.1857,
    "h": 265.4
  },
  "luminance": 0.09143
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #254BBE

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

Preview Lab → · Contrast checker → · Palette generator →

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