#254FB0#254FB0

#254FB0 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.8% C 0.162 H 263.6°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#254FB0
RGBrgb(37, 79, 176)
HSLhsl(222, 65%, 42%)
HSVhsv(222, 79%, 69%)
CMYKcmyk(79%, 55.1%, 0%, 31%)
CIE-LABlab(36.21, 21.48, -55.83)
CIE-LCHlch(36.21, 59.82, 291.04°)
OKLaboklab(45.77% -0.0181 -0.161)
OKLCHoklch(45.77% 0.162 263.6)
XYZxyz(11.3926, 9.1185, 42.2255)
Luminance0.0912 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254FB0 #B08625
analogous
#2594B0 #254FB0 #4125B0
triadic
#254FB0 #B0254F #4FB025
tetradic
#254FB0 #B02594 #B08625 #25B041
square
#254FB0 #B02594 #B08625 #25B041
split-complementary
#254FB0 #B04125 #94B025
monochromatic
#10224B #1A387D #254FB0 #3C6BD6 #6F91E1

Accessibility & contrast

On white

7.44
#254FB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#254FB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254FB0
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254FB0#FFFFFF#000000##FFFFFF
##254FB01.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB3
Deuteranopia (green-blind)
#004FAE
Tritanopia (blue-blind)
#006777
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #254fb0;
/* rgb */ color: rgb(37, 79, 176);
/* oklch */ color: oklch(45.8% 0.162 263.6);
Tailwind
colors: {
  custom: {
    50: '#767fc8',
    500: '#254fb0',
    950: '#000000',
  },
}
SCSS
$custom: #254fb0;
$custom-light: #767fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#254fb0",
  "rgb": {
    "r": 37,
    "g": 79,
    "b": 176
  },
  "hsl": {
    "h": 221.871,
    "s": 65.258,
    "l": 41.765
  },
  "oklch": {
    "l": 0.45773,
    "c": 0.16204,
    "h": 263.6
  },
  "luminance": 0.0912
}

Semantic roles & 50–950 ramp

primary
#254FB0
secondary
#C7AB6A
accent
#B540E8
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #254FB0

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

Preview Lab → · Contrast checker → · Palette generator →

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