#25377D#25377D

#25377D is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.5% C 0.121 H 268.8°. Best body text is #FFFFFF at 10.93:1 contrast (WCAG AA passes).

Color values

HEX#25377D
RGBrgb(37, 55, 125)
HSLhsl(228, 54%, 32%)
HSVhsv(228, 70%, 49%)
CMYKcmyk(70.4%, 56%, 0%, 51%)
CIE-LABlab(25.58, 17.95, -41.96)
CIE-LCHlch(25.58, 45.64, 293.17°)
OKLaboklab(36.52% -0.0025 -0.1206)
OKLCHoklch(36.52% 0.121 268.8)
XYZxyz(5.8295, 4.6058, 19.9799)
Luminance0.0461 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25377D #7D6B25
analogous
#25637D #25377D #3F257D
triadic
#25377D #7D2537 #377D25
tetradic
#25377D #7D2563 #7D6B25 #257D3F
square
#25377D #7D2563 #7D6B25 #257D3F
split-complementary
#25377D #7D3F25 #637D25
monochromatic
#090D1F #17224E #25377D #334CAC #516ACB

Accessibility & contrast

On white

10.93
#25377D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#25377D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25377D
10.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25377D#FFFFFF#000000##FFFFFF
##25377D1.0010.931.9210.93
#FFFFFF10.931.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03417F
Deuteranopia (green-blind)
#00397C
Tritanopia (blue-blind)
#004854
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #25377d;
/* rgb */ color: rgb(37, 55, 125);
/* oklch */ color: oklch(36.5% 0.121 268.8);
Tailwind
colors: {
  custom: {
    50: '#6b6da3',
    500: '#25377d',
    950: '#000000',
  },
}
SCSS
$custom: #25377d;
$custom-light: #6b6da3;
$custom-dark: #000000;
JSON
{
  "hex": "#25377d",
  "rgb": {
    "r": 37,
    "g": 55,
    "b": 125
  },
  "hsl": {
    "h": 227.727,
    "s": 54.321,
    "l": 31.765
  },
  "oklch": {
    "l": 0.36517,
    "c": 0.12068,
    "h": 268.8
  },
  "luminance": 0.04606
}

Semantic roles & 50–950 ramp

primary
#25377D
secondary
#AF9B4F
accent
#BF4ADE
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #25377D

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

Preview Lab → · Contrast checker → · Palette generator →

#25377D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva