#25306A#25306A

#25306A is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.4% C 0.102 H 271.7°. Best body text is #FFFFFF at 12.28:1 contrast (WCAG AA passes).

Color values

HEX#25306A
RGBrgb(37, 48, 106)
HSLhsl(230, 48%, 28%)
HSVhsv(230, 65%, 42%)
CMYKcmyk(65.1%, 54.7%, 0%, 58.4%)
CIE-LABlab(22.12, 15.52, -35.43)
CIE-LCHlch(22.12, 38.68, 293.66°)
OKLaboklab(33.45% 0.0031 -0.1015)
OKLCHoklch(33.45% 0.102 271.7)
XYZxyz(4.4206, 3.5475, 14.0846)
Luminance0.0355 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25306A #6A5F25
analogous
#25526A #25306A #3C256A
triadic
#25306A #6A2530 #306A25
tetradic
#25306A #6A2552 #6A5F25 #256A3C
square
#25306A #6A2552 #6A5F25 #256A3C
split-complementary
#25306A #6A3C25 #526A25
monochromatic
#080A17 #151B3D #25306A #354597 #4A5DC0

Accessibility & contrast

On white

12.28
#25306A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#25306A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25306A
12.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25306A#FFFFFF#000000##FFFFFF
##25306A1.0012.281.7112.28
#FFFFFF12.281.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E386C
Deuteranopia (green-blind)
#003269
Tritanopia (blue-blind)
#003D48
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #25306a;
/* rgb */ color: rgb(37, 48, 106);
/* oklch */ color: oklch(33.4% 0.102 271.7);
Tailwind
colors: {
  custom: {
    50: '#676895',
    500: '#25306a',
    950: '#000000',
  },
}
SCSS
$custom: #25306a;
$custom-light: #676895;
$custom-dark: #000000;
JSON
{
  "hex": "#25306a",
  "rgb": {
    "r": 37,
    "g": 48,
    "b": 106
  },
  "hsl": {
    "h": 230.435,
    "s": 48.252,
    "l": 28.039
  },
  "oklch": {
    "l": 0.33446,
    "c": 0.1016,
    "h": 271.7
  },
  "luminance": 0.03548
}

Semantic roles & 50–950 ramp

primary
#25306A
secondary
#9D904E
accent
#C250D8
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #25306A

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

Preview Lab → · Contrast checker → · Palette generator →

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