#25347B#25347B

#25347B is a dark, vivid blue. Relative luminance 0.043; OKLCH L 35.7% C 0.122 H 270.1°. Best body text is #FFFFFF at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#25347B
RGBrgb(37, 52, 123)
HSLhsl(230, 54%, 31%)
HSVhsv(230, 70%, 48%)
CMYKcmyk(69.9%, 57.7%, 0%, 51.8%)
CIE-LABlab(24.57, 19.27, -42.33)
CIE-LCHlch(24.57, 46.51, 294.48°)
OKLaboklab(35.71% 0.0002 -0.1218)
OKLCHoklch(35.71% 0.122 270.1)
XYZxyz(5.5649, 4.2788, 19.2677)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25347B #7B6C25
analogous
#255F7B #25347B #41257B
triadic
#25347B #7B2534 #347B25
tetradic
#25347B #7B255F #7B6C25 #257B41
square
#25347B #7B255F #7B6C25 #257B41
split-complementary
#25347B #7B4125 #5F7B25
monochromatic
#090C1D #17204C #25347B #3348AA #5065CA

Accessibility & contrast

On white

11.32
#25347B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#25347B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25347B
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25347B#FFFFFF#000000##FFFFFF
##25347B1.0011.321.8611.32
#FFFFFF11.321.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E7D
Deuteranopia (green-blind)
#00377A
Tritanopia (blue-blind)
#004552
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #25347b;
/* rgb */ color: rgb(37, 52, 123);
/* oklch */ color: oklch(35.7% 0.122 270.1);
Tailwind
colors: {
  custom: {
    50: '#6b6ba2',
    500: '#25347b',
    950: '#000000',
  },
}
SCSS
$custom: #25347b;
$custom-light: #6b6ba2;
$custom-dark: #000000;
JSON
{
  "hex": "#25347b",
  "rgb": {
    "r": 37,
    "g": 52,
    "b": 123
  },
  "hsl": {
    "h": 229.535,
    "s": 53.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.3571,
    "c": 0.12179,
    "h": 270.1
  },
  "luminance": 0.04279
}

Semantic roles & 50–950 ramp

primary
#25347B
secondary
#AD9D4F
accent
#C44BDD
background
#F6F6FA
surface
#ECEBF3
border
#C7C6CD
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #25347B

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

Preview Lab → · Contrast checker → · Palette generator →

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