#25438B#25438B

#25438B is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.3% C 0.125 H 264.4°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#25438B
RGBrgb(37, 67, 139)
HSLhsl(222, 58%, 35%)
HSVhsv(222, 73%, 55%)
CMYKcmyk(73.4%, 51.8%, 0%, 45.5%)
CIE-LABlab(30.09, 15.13, -43.40)
CIE-LCHlch(30.09, 45.96, 289.22°)
OKLaboklab(40.26% -0.0121 -0.1247)
OKLCHoklch(40.26% 0.125 264.4)
XYZxyz(7.4287, 6.2709, 25.2400)
Luminance0.0627 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25438B #8B6D25
analogous
#25768B #25438B #3A258B
triadic
#25438B #8B2543 #438B25
tetradic
#25438B #8B2576 #8B6D25 #258B3A
square
#25438B #8B2576 #8B6D25 #258B3A
split-complementary
#25438B #8B3A25 #768B25
monochromatic
#0B142A #182C5B #25438B #325ABB #587CD3

Accessibility & contrast

On white

9.32
#25438B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#25438B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25438B
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25438B#FFFFFF#000000##FFFFFF
##25438B1.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184C8E
Deuteranopia (green-blind)
#00428A
Tritanopia (blue-blind)
#005460
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #25438b;
/* rgb */ color: rgb(37, 67, 139);
/* oklch */ color: oklch(40.3% 0.125 264.4);
Tailwind
colors: {
  custom: {
    50: '#6e76ad',
    500: '#25438b',
    950: '#000000',
  },
}
SCSS
$custom: #25438b;
$custom-light: #6e76ad;
$custom-dark: #000000;
JSON
{
  "hex": "#25438b",
  "rgb": {
    "r": 37,
    "g": 67,
    "b": 139
  },
  "hsl": {
    "h": 222.353,
    "s": 57.955,
    "l": 34.51
  },
  "oklch": {
    "l": 0.4026,
    "c": 0.12528,
    "h": 264.4
  },
  "luminance": 0.06272
}

Semantic roles & 50–950 ramp

primary
#25438B
secondary
#B79A55
accent
#B447E1
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #25438B

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

Preview Lab → · Contrast checker → · Palette generator →

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