#254FA0#254FA0

#254FA0 is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.5% C 0.140 H 261.9°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#254FA0
RGBrgb(37, 79, 160)
HSLhsl(220, 62%, 39%)
HSVhsv(220, 77%, 63%)
CMYKcmyk(76.9%, 50.6%, 0%, 37.3%)
CIE-LABlab(35.05, 15.23, -48.17)
CIE-LCHlch(35.05, 50.52, 287.55°)
OKLaboklab(44.52% -0.0198 -0.1385)
OKLCHoklch(44.52% 0.14 261.9)
XYZxyz(9.9018, 8.5222, 34.3740)
Luminance0.0852 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254FA0 #A07625
analogous
#258CA0 #254FA0 #3825A0
triadic
#254FA0 #A0254F #4FA025
tetradic
#254FA0 #A0258C #A07625 #25A038
square
#254FA0 #A0258C #A07625 #25A038
split-complementary
#254FA0 #A03825 #8CA025
monochromatic
#0E1E3D #1A366E #254FA0 #3268D0 #648DDB

Accessibility & contrast

On white

7.76
#254FA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#254FA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254FA0
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254FA0#FFFFFF#000000##FFFFFF
##254FA01.007.762.707.76
#FFFFFF7.761.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E58A3
Deuteranopia (green-blind)
#004D9E
Tritanopia (blue-blind)
#006270
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #254fa0;
/* rgb */ color: rgb(37, 79, 160);
/* oklch */ color: oklch(44.5% 0.140 261.9);
Tailwind
colors: {
  custom: {
    50: '#727fbd',
    500: '#254fa0',
    950: '#000000',
  },
}
SCSS
$custom: #254fa0;
$custom-light: #727fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#254fa0",
  "rgb": {
    "r": 37,
    "g": 79,
    "b": 160
  },
  "hsl": {
    "h": 219.512,
    "s": 62.437,
    "l": 38.627
  },
  "oklch": {
    "l": 0.44519,
    "c": 0.13991,
    "h": 261.9
  },
  "luminance": 0.08523
}

Semantic roles & 50–950 ramp

primary
#254FA0
secondary
#C1A060
accent
#AE42E6
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #254FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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