#254BA0#254BA0

#254BA0 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 43.6% C 0.145 H 263.4°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#254BA0
RGBrgb(37, 75, 160)
HSLhsl(221, 62%, 39%)
HSVhsv(221, 77%, 63%)
CMYKcmyk(76.9%, 53.1%, 0%, 37.3%)
CIE-LABlab(33.90, 17.92, -50.02)
CIE-LCHlch(33.90, 53.13, 289.71°)
OKLaboklab(43.65% -0.0165 -0.144)
OKLCHoklch(43.65% 0.145 263.4)
XYZxyz(9.6219, 7.9625, 34.2807)
Luminance0.0796 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254BA0 #A07A25
analogous
#2588A0 #254BA0 #3C25A0
triadic
#254BA0 #A0254B #4BA025
tetradic
#254BA0 #A02588 #A07A25 #25A03C
square
#254BA0 #A02588 #A07A25 #25A03C
split-complementary
#254BA0 #A03C25 #88A025
monochromatic
#0E1C3D #1A346E #254BA0 #3263D0 #6489DB

Accessibility & contrast

On white

8.10
#254BA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#254BA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254BA0
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254BA0#FFFFFF#000000##FFFFFF
##254BA01.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F56A3
Deuteranopia (green-blind)
#004A9E
Tritanopia (blue-blind)
#00606E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #254ba0;
/* rgb */ color: rgb(37, 75, 160);
/* oklch */ color: oklch(43.6% 0.145 263.4);
Tailwind
colors: {
  custom: {
    50: '#727cbd',
    500: '#254ba0',
    950: '#000000',
  },
}
SCSS
$custom: #254ba0;
$custom-light: #727cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#254ba0",
  "rgb": {
    "r": 37,
    "g": 75,
    "b": 160
  },
  "hsl": {
    "h": 221.463,
    "s": 62.437,
    "l": 38.627
  },
  "oklch": {
    "l": 0.43648,
    "c": 0.14496,
    "h": 263.4
  },
  "luminance": 0.07964
}

Semantic roles & 50–950 ramp

primary
#254BA0
secondary
#C1A360
accent
#B342E6
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #254BA0

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

Preview Lab → · Contrast checker → · Palette generator →

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