#25538B#25538B

#25538B is a dark, moderate cyan. Relative luminance 0.084; OKLCH L 44.0% C 0.105 H 254.9°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#25538B
RGBrgb(37, 83, 139)
HSLhsl(213, 58%, 35%)
HSVhsv(213, 73%, 55%)
CMYKcmyk(73.4%, 40.3%, 0%, 45.5%)
CIE-LABlab(34.89, 4.38, -35.70)
CIE-LCHlch(34.89, 35.97, 276.99°)
OKLaboklab(43.96% -0.0275 -0.1018)
OKLCHoklch(43.96% 0.105 254.9)
XYZxyz(8.5147, 8.4430, 25.6020)
Luminance0.0844 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25538B #8B5D25
analogous
#25868B #25538B #2A258B
triadic
#25538B #8B2553 #538B25
tetradic
#25538B #8B2586 #8B5D25 #258B2A
square
#25538B #8B2586 #8B5D25 #258B2A
split-complementary
#25538B #8B2A25 #868B25
monochromatic
#0B192A #18365B #25538B #3270BB #588FD3

Accessibility & contrast

On white

7.81
#25538B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#25538B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25538B
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25538B#FFFFFF#000000##FFFFFF
##25538B1.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39578D
Deuteranopia (green-blind)
#294E8A
Tritanopia (blue-blind)
#006068
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #25538b;
/* rgb */ color: rgb(37, 83, 139);
/* oklch */ color: oklch(44.0% 0.105 254.9);
Tailwind
colors: {
  custom: {
    50: '#6d82ad',
    500: '#25538b',
    950: '#000000',
  },
}
SCSS
$custom: #25538b;
$custom-light: #6d82ad;
$custom-dark: #000000;
JSON
{
  "hex": "#25538b",
  "rgb": {
    "r": 37,
    "g": 83,
    "b": 139
  },
  "hsl": {
    "h": 212.941,
    "s": 57.955,
    "l": 34.51
  },
  "oklch": {
    "l": 0.43962,
    "c": 0.10542,
    "h": 254.9
  },
  "luminance": 0.08444
}

Semantic roles & 50–950 ramp

primary
#25538B
secondary
#B78B55
accent
#9B47E1
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #25538B

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

Preview Lab → · Contrast checker → · Palette generator →

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