#252C75#252C75

#252C75 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.5% C 0.124 H 273.5°. Best body text is #FFFFFF at 12.38:1 contrast (WCAG AA passes).

Color values

HEX#252C75
RGBrgb(37, 44, 117)
HSLhsl(235, 52%, 30%)
HSVhsv(235, 68%, 46%)
CMYKcmyk(68.4%, 62.4%, 0%, 54.1%)
CIE-LABlab(21.87, 22.53, -42.91)
CIE-LCHlch(21.87, 48.47, 297.70°)
OKLaboklab(33.54% 0.0076 -0.1236)
OKLCHoklch(33.54% 0.124 273.5)
XYZxyz(4.8734, 3.4786, 17.2408)
Luminance0.0348 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252C75 #756E25
analogous
#255475 #252C75 #462575
triadic
#252C75 #75252C #2C7525
tetradic
#252C75 #752554 #756E25 #257546
square
#252C75 #752554 #756E25 #257546
split-complementary
#252C75 #754625 #547525
monochromatic
#080918 #161B47 #252C75 #343DA3 #4E58C7

Accessibility & contrast

On white

12.38
#252C75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#252C75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252C75
12.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252C75#FFFFFF#000000##FFFFFF
##252C751.0012.381.7012.38
#FFFFFF12.381.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003877
Deuteranopia (green-blind)
#003174
Tritanopia (blue-blind)
#003E4C
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #252c75;
/* rgb */ color: rgb(37, 44, 117);
/* oklch */ color: oklch(33.5% 0.124 273.5);
Tailwind
colors: {
  custom: {
    50: '#6a659d',
    500: '#252c75',
    950: '#000000',
  },
}
SCSS
$custom: #252c75;
$custom-light: #6a659d;
$custom-dark: #000000;
JSON
{
  "hex": "#252c75",
  "rgb": {
    "r": 37,
    "g": 44,
    "b": 117
  },
  "hsl": {
    "h": 234.75,
    "s": 51.948,
    "l": 30.196
  },
  "oklch": {
    "l": 0.33538,
    "c": 0.12383,
    "h": 273.5
  },
  "luminance": 0.03479
}

Semantic roles & 50–950 ramp

primary
#252C75
secondary
#A8A04E
accent
#CF4CDB
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07050E
muted
#7A7A7E

Preview Lab

Preview with #252C75

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

Preview Lab → · Contrast checker → · Palette generator →

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