#254EBA#254EBA

#254EBA is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.4% C 0.177 H 264.6°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#254EBA
RGBrgb(37, 78, 186)
HSLhsl(223, 67%, 44%)
HSVhsv(223, 80%, 73%)
CMYKcmyk(80.1%, 58.1%, 0%, 27.1%)
CIE-LABlab(36.72, 26.00, -60.91)
CIE-LCHlch(36.72, 66.22, 293.12°)
OKLaboklab(46.4% -0.0167 -0.176)
OKLCHoklch(46.4% 0.177 264.6)
XYZxyz(12.3471, 9.3858, 47.6057)
Luminance0.0939 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254EBA #BA9125
analogous
#2598BA #254EBA #4625BA
triadic
#254EBA #BA254E #4EBA25
tetradic
#254EBA #BA2598 #BA9125 #25BA46
square
#254EBA #BA2598 #BA9125 #25BA46
split-complementary
#254EBA #BA4625 #98BA25
monochromatic
#112354 #1B3987 #254EBA #436CDA #7694E4

Accessibility & contrast

On white

7.30
#254EBA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#254EBA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254EBA
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254EBA#FFFFFF#000000##FFFFFF
##254EBA1.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBE
Deuteranopia (green-blind)
#0050B8
Tritanopia (blue-blind)
#00697C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #254eba;
/* rgb */ color: rgb(37, 78, 186);
/* oklch */ color: oklch(46.4% 0.177 264.6);
Tailwind
colors: {
  custom: {
    50: '#787fd0',
    500: '#254eba',
    950: '#000000',
  },
}
SCSS
$custom: #254eba;
$custom-light: #787fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#254eba",
  "rgb": {
    "r": 37,
    "g": 78,
    "b": 186
  },
  "hsl": {
    "h": 223.49,
    "s": 66.816,
    "l": 43.725
  },
  "oklch": {
    "l": 0.46397,
    "c": 0.17677,
    "h": 264.6
  },
  "luminance": 0.09387
}

Semantic roles & 50–950 ramp

primary
#254EBA
secondary
#CBB270
accent
#BA3EEA
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #254EBA

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

Preview Lab → · Contrast checker → · Palette generator →

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