#254A95#254A95

#254A95 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 42.6% C 0.131 H 262.5°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#254A95
RGBrgb(37, 74, 149)
HSLhsl(220, 60%, 36%)
HSVhsv(220, 75%, 58%)
CMYKcmyk(75.2%, 50.3%, 0%, 41.6%)
CIE-LABlab(32.83, 14.29, -45.09)
CIE-LCHlch(32.83, 47.30, 287.58°)
OKLaboklab(42.58% -0.0171 -0.1295)
OKLCHoklch(42.58% 0.131 262.5)
XYZxyz(8.6346, 7.4599, 29.4128)
Luminance0.0746 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254A95 #957025
analogous
#258295 #254A95 #382595
triadic
#254A95 #95254A #4A9525
tetradic
#254A95 #952582 #957025 #259538
square
#254A95 #952582 #957025 #259538
split-complementary
#254A95 #953825 #829525
monochromatic
#0D1933 #193264 #254A95 #3162C6 #5E86D7

Accessibility & contrast

On white

8.43
#254A95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#254A95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254A95
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254A95#FFFFFF#000000##FFFFFF
##254A951.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E5398
Deuteranopia (green-blind)
#004893
Tritanopia (blue-blind)
#005C68
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #254a95;
/* rgb */ color: rgb(37, 74, 149);
/* oklch */ color: oklch(42.6% 0.131 262.5);
Tailwind
colors: {
  custom: {
    50: '#707cb5',
    500: '#254a95',
    950: '#000000',
  },
}
SCSS
$custom: #254a95;
$custom-light: #707cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#254a95",
  "rgb": {
    "r": 37,
    "g": 74,
    "b": 149
  },
  "hsl": {
    "h": 220.179,
    "s": 60.215,
    "l": 36.471
  },
  "oklch": {
    "l": 0.4258,
    "c": 0.13067,
    "h": 262.5
  },
  "luminance": 0.07461
}

Semantic roles & 50–950 ramp

primary
#254A95
secondary
#BC9C5A
accent
#AF44E3
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #254A95

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

Preview Lab → · Contrast checker → · Palette generator →

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