#25306E#25306E

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

Color values

HEX#25306E
RGBrgb(37, 48, 110)
HSLhsl(231, 50%, 29%)
HSVhsv(231, 66%, 43%)
CMYKcmyk(66.4%, 56.4%, 0%, 56.9%)
CIE-LABlab(22.42, 17.06, -37.53)
CIE-LCHlch(22.42, 41.22, 294.45°)
OKLaboklab(33.77% 0.0034 -0.1077)
OKLCHoklch(33.77% 0.108 271.8)
XYZxyz(4.6334, 3.6326, 15.2058)
Luminance0.0363 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25306E #6E6325
analogous
#25556E #25306E #3F256E
triadic
#25306E #6E2530 #306E25
tetradic
#25306E #6E2555 #6E6325 #256E3F
square
#25306E #6E2555 #6E6325 #256E3F
split-complementary
#25306E #6E3F25 #556E25
monochromatic
#080A17 #161C40 #25306E #34449C #4B5DC2

Accessibility & contrast

On white

12.16
#25306E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #25306E
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25306E#FFFFFF#000000##FFFFFF
##25306E1.0012.161.7312.16
#FFFFFF12.161.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#073970
Deuteranopia (green-blind)
#00326D
Tritanopia (blue-blind)
#003F4A
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #25306e;
/* rgb */ color: rgb(37, 48, 110);
/* oklch */ color: oklch(33.8% 0.108 271.8);
Tailwind
colors: {
  custom: {
    50: '#686898',
    500: '#25306e',
    950: '#000000',
  },
}
SCSS
$custom: #25306e;
$custom-light: #686898;
$custom-dark: #000000;
JSON
{
  "hex": "#25306e",
  "rgb": {
    "r": 37,
    "g": 48,
    "b": 110
  },
  "hsl": {
    "h": 230.959,
    "s": 49.66,
    "l": 28.824
  },
  "oklch": {
    "l": 0.3377,
    "c": 0.10776,
    "h": 271.8
  },
  "luminance": 0.03633
}

Semantic roles & 50–950 ramp

primary
#25306E
secondary
#A1944E
accent
#C44FD9
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #25306E

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

Preview Lab → · Contrast checker → · Palette generator →

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