#25368F#25368F

#25368F is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.9% C 0.148 H 269.6°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#25368F
RGBrgb(37, 54, 143)
HSLhsl(230, 59%, 35%)
HSVhsv(230, 74%, 56%)
CMYKcmyk(74.1%, 62.2%, 0%, 43.9%)
CIE-LABlab(26.77, 25.59, -51.24)
CIE-LCHlch(26.77, 57.28, 296.54°)
OKLaboklab(37.87% -0.0011 -0.1479)
OKLCHoklch(37.87% 0.148 269.6)
XYZxyz(7.0383, 5.0141, 26.5782)
Luminance0.0502 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25368F #8F7E25
analogous
#256B8F #25368F #49258F
triadic
#25368F #8F2536 #368F25
tetradic
#25368F #8F256B #8F7E25 #258F49
square
#25368F #8F256B #8F7E25 #258F49
split-complementary
#25368F #8F4925 #6B8F25
monochromatic
#0C112E #18245E #25368F #3248C0 #5A6ED4

Accessibility & contrast

On white

10.48
#25368F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#25368F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25368F
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25368F#FFFFFF#000000##FFFFFF
##25368F1.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004492
Deuteranopia (green-blind)
#003A8D
Tritanopia (blue-blind)
#004D5D
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #25368f;
/* rgb */ color: rgb(37, 54, 143);
/* oklch */ color: oklch(37.9% 0.148 269.6);
Tailwind
colors: {
  custom: {
    50: '#6f6cb1',
    500: '#25368f',
    950: '#000000',
  },
}
SCSS
$custom: #25368f;
$custom-light: #6f6cb1;
$custom-dark: #000000;
JSON
{
  "hex": "#25368f",
  "rgb": {
    "r": 37,
    "g": 54,
    "b": 143
  },
  "hsl": {
    "h": 230.377,
    "s": 58.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.3787,
    "c": 0.14795,
    "h": 269.6
  },
  "luminance": 0.05015
}

Semantic roles & 50–950 ramp

primary
#25368F
secondary
#B9A957
accent
#C946E2
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #25368F

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

Preview Lab → · Contrast checker → · Palette generator →

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