#254F93#254F93

#254F93 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 43.6% C 0.122 H 259.6°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#254F93
RGBrgb(37, 79, 147)
HSLhsl(217, 60%, 36%)
HSVhsv(217, 75%, 58%)
CMYKcmyk(74.8%, 46.3%, 0%, 42.4%)
CIE-LABlab(34.17, 10.14, -41.72)
CIE-LCHlch(34.17, 42.94, 283.66°)
OKLaboklab(43.57% -0.0219 -0.1195)
OKLCHoklch(43.57% 0.122 259.6)
XYZxyz(8.8235, 8.0909, 28.6948)
Luminance0.0809 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254F93 #936925
analogous
#258693 #254F93 #322593
triadic
#254F93 #93254F #4F9325
tetradic
#254F93 #932586 #936925 #259332
square
#254F93 #932586 #936925 #259332
split-complementary
#254F93 #933225 #869325
monochromatic
#0C1A31 #193562 #254F93 #3169C4 #5C8BD6

Accessibility & contrast

On white

8.02
#254F93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#254F93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254F93
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254F93#FFFFFF#000000##FFFFFF
##254F931.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5696
Deuteranopia (green-blind)
#154C92
Tritanopia (blue-blind)
#005F6A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #254f93;
/* rgb */ color: rgb(37, 79, 147);
/* oklch */ color: oklch(43.6% 0.122 259.6);
Tailwind
colors: {
  custom: {
    50: '#6f7fb3',
    500: '#254f93',
    950: '#000000',
  },
}
SCSS
$custom: #254f93;
$custom-light: #6f7fb3;
$custom-dark: #000000;
JSON
{
  "hex": "#254f93",
  "rgb": {
    "r": 37,
    "g": 79,
    "b": 147
  },
  "hsl": {
    "h": 217.091,
    "s": 59.783,
    "l": 36.078
  },
  "oklch": {
    "l": 0.43566,
    "c": 0.12153,
    "h": 259.6
  },
  "luminance": 0.08092
}

Semantic roles & 50–950 ramp

primary
#254F93
secondary
#BB9559
accent
#A745E3
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #254F93

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

Preview Lab → · Contrast checker → · Palette generator →

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