#25306F#25306F

#25306F is a dark, moderate blue. Relative luminance 0.037; OKLCH L 33.9% C 0.109 H 271.8°. Best body text is #FFFFFF at 12.13:1 contrast (WCAG AA passes).

Color values

HEX#25306F
RGBrgb(37, 48, 111)
HSLhsl(231, 50%, 29%)
HSVhsv(231, 67%, 44%)
CMYKcmyk(66.7%, 56.8%, 0%, 56.5%)
CIE-LABlab(22.49, 17.44, -38.05)
CIE-LCHlch(22.49, 41.85, 294.63°)
OKLaboklab(33.85% 0.0035 -0.1092)
OKLCHoklch(33.85% 0.109 271.8)
XYZxyz(4.6882, 3.6545, 15.4942)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25306F #6F6425
analogous
#25556F #25306F #3F256F
triadic
#25306F #6F2530 #306F25
tetradic
#25306F #6F2555 #6F6425 #256F3F
square
#25306F #6F2555 #6F6425 #256F3F
split-complementary
#25306F #6F3F25 #556F25
monochromatic
#080A17 #161C41 #25306F #34449D #4B5DC3

Accessibility & contrast

On white

12.13
#25306F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#25306F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25306F
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25306F#FFFFFF#000000##FFFFFF
##25306F1.0012.131.7312.13
#FFFFFF12.131.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#043971
Deuteranopia (green-blind)
#00336E
Tritanopia (blue-blind)
#003F4A
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #25306f;
/* rgb */ color: rgb(37, 48, 111);
/* oklch */ color: oklch(33.9% 0.109 271.8);
Tailwind
colors: {
  custom: {
    50: '#686899',
    500: '#25306f',
    950: '#000000',
  },
}
SCSS
$custom: #25306f;
$custom-light: #686899;
$custom-dark: #000000;
JSON
{
  "hex": "#25306f",
  "rgb": {
    "r": 37,
    "g": 48,
    "b": 111
  },
  "hsl": {
    "h": 231.081,
    "s": 50,
    "l": 29.02
  },
  "oklch": {
    "l": 0.33853,
    "c": 0.10929,
    "h": 271.8
  },
  "luminance": 0.03655
}

Semantic roles & 50–950 ramp

primary
#25306F
secondary
#A2954E
accent
#C54EDA
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #25306F

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

Preview Lab → · Contrast checker → · Palette generator →

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