#252F65#252F65

#252F65 is a dark, moderate blue. Relative luminance 0.034; OKLCH L 32.8% C 0.095 H 272.2°. Best body text is #FFFFFF at 12.55:1 contrast (WCAG AA passes).

Color values

HEX#252F65
RGBrgb(37, 47, 101)
HSLhsl(231, 46%, 27%)
HSVhsv(231, 63%, 40%)
CMYKcmyk(63.4%, 53.5%, 0%, 60.4%)
CIE-LABlab(21.45, 14.32, -33.25)
CIE-LCHlch(21.45, 36.20, 293.29°)
OKLaboklab(32.83% 0.0037 -0.0951)
OKLCHoklch(32.83% 0.095 272.2)
XYZxyz(4.1277, 3.3656, 12.7415)
Luminance0.0337 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252F65 #655B25
analogous
#254F65 #252F65 #3B2565
triadic
#252F65 #65252F #2F6525
tetradic
#252F65 #65254F #655B25 #25653B
square
#252F65 #65254F #655B25 #25653B
split-complementary
#252F65 #653B25 #4F6525
monochromatic
#080A16 #151A38 #252F65 #354492 #485ABC

Accessibility & contrast

On white

12.55
#252F65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#252F65 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252F65
12.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252F65#FFFFFF#000000##FFFFFF
##252F651.0012.551.6712.55
#FFFFFF12.551.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#123667
Deuteranopia (green-blind)
#053164
Tritanopia (blue-blind)
#003B45
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #252f65;
/* rgb */ color: rgb(37, 47, 101);
/* oklch */ color: oklch(32.8% 0.095 272.2);
Tailwind
colors: {
  custom: {
    50: '#666791',
    500: '#252f65',
    950: '#000000',
  },
}
SCSS
$custom: #252f65;
$custom-light: #666791;
$custom-dark: #000000;
JSON
{
  "hex": "#252f65",
  "rgb": {
    "r": 37,
    "g": 47,
    "b": 101
  },
  "hsl": {
    "h": 230.625,
    "s": 46.377,
    "l": 27.059
  },
  "oklch": {
    "l": 0.32828,
    "c": 0.09521,
    "h": 272.2
  },
  "luminance": 0.03366
}

Semantic roles & 50–950 ramp

primary
#252F65
secondary
#988D4E
accent
#C152D6
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06060D
muted
#7A7A7D

Preview Lab

Preview with #252F65

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

Preview Lab → · Contrast checker → · Palette generator →

#252F65 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva