#25438F#25438F

#25438F is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.6% C 0.131 H 264.9°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#25438F
RGBrgb(37, 67, 143)
HSLhsl(223, 59%, 35%)
HSVhsv(223, 74%, 56%)
CMYKcmyk(74.1%, 53.1%, 0%, 43.9%)
CIE-LABlab(30.38, 16.70, -45.39)
CIE-LCHlch(30.38, 48.37, 290.20°)
OKLaboklab(40.57% -0.0117 -0.1305)
OKLCHoklch(40.57% 0.131 264.9)
XYZxyz(7.7263, 6.3900, 26.8075)
Luminance0.0639 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25438F #8F7125
analogous
#25788F #25438F #3C258F
triadic
#25438F #8F2543 #438F25
tetradic
#25438F #8F2578 #8F7125 #258F3C
square
#25438F #8F2578 #8F7125 #258F3C
split-complementary
#25438F #8F3C25 #788F25
monochromatic
#0C152E #182C5E #25438F #325AC0 #5A7DD4

Accessibility & contrast

On white

9.22
#25438F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#25438F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25438F
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25438F#FFFFFF#000000##FFFFFF
##25438F1.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#114D92
Deuteranopia (green-blind)
#00438D
Tritanopia (blue-blind)
#005562
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #25438f;
/* rgb */ color: rgb(37, 67, 143);
/* oklch */ color: oklch(40.6% 0.131 264.9);
Tailwind
colors: {
  custom: {
    50: '#6f76b0',
    500: '#25438f',
    950: '#000000',
  },
}
SCSS
$custom: #25438f;
$custom-light: #6f76b0;
$custom-dark: #000000;
JSON
{
  "hex": "#25438f",
  "rgb": {
    "r": 37,
    "g": 67,
    "b": 143
  },
  "hsl": {
    "h": 223.019,
    "s": 58.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.40573,
    "c": 0.13107,
    "h": 264.9
  },
  "luminance": 0.06391
}

Semantic roles & 50–950 ramp

primary
#25438F
secondary
#B99D57
accent
#B646E2
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080811
muted
#7B7B80

Preview Lab

Preview with #25438F

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

Preview Lab → · Contrast checker → · Palette generator →

#25438F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva