#252B74#252B74

#252B74 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.2% C 0.124 H 273.9°. Best body text is #FFFFFF at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#252B74
RGBrgb(37, 43, 116)
HSLhsl(235, 52%, 30%)
HSVhsv(235, 68%, 45%)
CMYKcmyk(68.1%, 62.9%, 0%, 54.5%)
CIE-LABlab(21.51, 22.85, -42.85)
CIE-LCHlch(21.51, 48.56, 298.07°)
OKLaboklab(33.25% 0.0085 -0.1234)
OKLCHoklch(33.25% 0.124 273.9)
XYZxyz(4.7782, 3.3816, 16.9205)
Luminance0.0338 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252B74 #746E25
analogous
#255374 #252B74 #462574
triadic
#252B74 #74252B #2B7425
tetradic
#252B74 #742553 #746E25 #257446
square
#252B74 #742553 #746E25 #257446
split-complementary
#252B74 #744625 #537425
monochromatic
#070917 #161A46 #252B74 #343CA2 #4D56C6

Accessibility & contrast

On white

12.53
#252B74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#252B74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252B74
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252B74#FFFFFF#000000##FFFFFF
##252B741.0012.531.6812.53
#FFFFFF12.531.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003776
Deuteranopia (green-blind)
#003073
Tritanopia (blue-blind)
#003D4B
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #252b74;
/* rgb */ color: rgb(37, 43, 116);
/* oklch */ color: oklch(33.2% 0.124 273.9);
Tailwind
colors: {
  custom: {
    50: '#6a649d',
    500: '#252b74',
    950: '#000000',
  },
}
SCSS
$custom: #252b74;
$custom-light: #6a649d;
$custom-dark: #000000;
JSON
{
  "hex": "#252b74",
  "rgb": {
    "r": 37,
    "g": 43,
    "b": 116
  },
  "hsl": {
    "h": 235.443,
    "s": 51.634,
    "l": 30
  },
  "oklch": {
    "l": 0.33249,
    "c": 0.12371,
    "h": 273.9
  },
  "luminance": 0.03382
}

Semantic roles & 50–950 ramp

primary
#252B74
secondary
#A7A04E
accent
#D04DDB
background
#F6F5F9
surface
#ECEAF2
border
#C7C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #252B74

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

Preview Lab → · Contrast checker → · Palette generator →

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