#25306C#25306C

#25306C is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.6% C 0.105 H 271.8°. Best body text is #FFFFFF at 12.22:1 contrast (WCAG AA passes).

Color values

HEX#25306C
RGBrgb(37, 48, 108)
HSLhsl(231, 49%, 28%)
HSVhsv(231, 66%, 42%)
CMYKcmyk(65.7%, 55.6%, 0%, 57.6%)
CIE-LABlab(22.27, 16.29, -36.48)
CIE-LCHlch(22.27, 39.96, 294.06°)
OKLaboklab(33.61% 0.0033 -0.1046)
OKLCHoklch(33.61% 0.105 271.8)
XYZxyz(4.5258, 3.5895, 14.6388)
Luminance0.0359 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25306C #6C6125
analogous
#25536C #25306C #3D256C
triadic
#25306C #6C2530 #306C25
tetradic
#25306C #6C2553 #6C6125 #256C3D
square
#25306C #6C2553 #6C6125 #256C3D
split-complementary
#25306C #6C3D25 #536C25
monochromatic
#080A17 #151C3E #25306C #35449A #4A5DC1

Accessibility & contrast

On white

12.22
#25306C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#25306C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25306C
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25306C#FFFFFF#000000##FFFFFF
##25306C1.0012.221.7212.22
#FFFFFF12.221.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B396E
Deuteranopia (green-blind)
#00326B
Tritanopia (blue-blind)
#003E49
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #25306c;
/* rgb */ color: rgb(37, 48, 108);
/* oklch */ color: oklch(33.6% 0.105 271.8);
Tailwind
colors: {
  custom: {
    50: '#686897',
    500: '#25306c',
    950: '#000000',
  },
}
SCSS
$custom: #25306c;
$custom-light: #686897;
$custom-dark: #000000;
JSON
{
  "hex": "#25306c",
  "rgb": {
    "r": 37,
    "g": 48,
    "b": 108
  },
  "hsl": {
    "h": 230.704,
    "s": 48.966,
    "l": 28.431
  },
  "oklch": {
    "l": 0.33607,
    "c": 0.10469,
    "h": 271.8
  },
  "luminance": 0.0359
}

Semantic roles & 50–950 ramp

primary
#25306C
secondary
#9F924E
accent
#C34FD9
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060D
muted
#7A7A7E

Preview Lab

Preview with #25306C

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

Preview Lab → · Contrast checker → · Palette generator →

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