#25499C#25499C

#25499C is a dark, vivid blue. Relative luminance 0.076; OKLCH L 42.9% C 0.142 H 263.8°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#25499C
RGBrgb(37, 73, 156)
HSLhsl(222, 62%, 38%)
HSVhsv(222, 76%, 61%)
CMYKcmyk(76.3%, 53.2%, 0%, 38.8%)
CIE-LABlab(33.04, 17.71, -49.00)
CIE-LCHlch(33.04, 52.10, 289.87°)
OKLaboklab(42.9% -0.0153 -0.141)
OKLCHoklch(42.9% 0.142 263.8)
XYZxyz(9.1441, 7.5577, 32.4229)
Luminance0.0756 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25499C #9C7825
analogous
#25849C #25499C #3D259C
triadic
#25499C #9C2549 #499C25
tetradic
#25499C #9C2584 #9C7825 #259C3D
square
#25499C #9C2584 #9C7825 #259C3D
split-complementary
#25499C #9C3D25 #849C25
monochromatic
#0E1B39 #19326B #25499C #3160CD #6286DA

Accessibility & contrast

On white

8.36
#25499C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#25499C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25499C
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25499C#FFFFFF#000000##FFFFFF
##25499C1.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F539F
Deuteranopia (green-blind)
#00499A
Tritanopia (blue-blind)
#005D6B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #25499c;
/* rgb */ color: rgb(37, 73, 156);
/* oklch */ color: oklch(42.9% 0.142 263.8);
Tailwind
colors: {
  custom: {
    50: '#717bba',
    500: '#25499c',
    950: '#000000',
  },
}
SCSS
$custom: #25499c;
$custom-light: #717bba;
$custom-dark: #000000;
JSON
{
  "hex": "#25499c",
  "rgb": {
    "r": 37,
    "g": 73,
    "b": 156
  },
  "hsl": {
    "h": 221.849,
    "s": 61.658,
    "l": 37.843
  },
  "oklch": {
    "l": 0.42902,
    "c": 0.14188,
    "h": 263.8
  },
  "luminance": 0.07559
}

Semantic roles & 50–950 ramp

primary
#25499C
secondary
#BFA25E
accent
#B443E5
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #25499C

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

Preview Lab → · Contrast checker → · Palette generator →

#25499C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva