#252B68#252B68

#252B68 is a dark, moderate blue. Relative luminance 0.031; OKLCH L 32.2% C 0.106 H 274.6°. Best body text is #FFFFFF at 12.93:1 contrast (WCAG AA passes).

Color values

HEX#252B68
RGBrgb(37, 43, 104)
HSLhsl(235, 48%, 28%)
HSVhsv(235, 64%, 41%)
CMYKcmyk(64.4%, 58.7%, 0%, 59.2%)
CIE-LABlab(20.52, 18.30, -36.71)
CIE-LCHlch(20.52, 41.02, 296.49°)
OKLaboklab(32.2% 0.0084 -0.1054)
OKLCHoklch(32.2% 0.106 274.6)
XYZxyz(4.1247, 3.1202, 13.4789)
Luminance0.0312 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252B68 #686225
analogous
#254C68 #252B68 #402568
triadic
#252B68 #68252B #2B6825
tetradic
#252B68 #68254C #686225 #256840
square
#252B68 #68254C #686225 #256840
split-complementary
#252B68 #684025 #4C6825
monochromatic
#080917 #15183B #252B68 #353E95 #4954BE

Accessibility & contrast

On white

12.93
#252B68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#252B68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252B68
12.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252B68#FFFFFF#000000##FFFFFF
##252B681.0012.931.6212.93
#FFFFFF12.931.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00346A
Deuteranopia (green-blind)
#002F67
Tritanopia (blue-blind)
#003945
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #252b68;
/* rgb */ color: rgb(37, 43, 104);
/* oklch */ color: oklch(32.2% 0.106 274.6);
Tailwind
colors: {
  custom: {
    50: '#676494',
    500: '#252b68',
    950: '#000000',
  },
}
SCSS
$custom: #252b68;
$custom-light: #676494;
$custom-dark: #000000;
JSON
{
  "hex": "#252b68",
  "rgb": {
    "r": 37,
    "g": 43,
    "b": 104
  },
  "hsl": {
    "h": 234.627,
    "s": 47.518,
    "l": 27.647
  },
  "oklch": {
    "l": 0.32199,
    "c": 0.10572,
    "h": 274.6
  },
  "luminance": 0.03121
}

Semantic roles & 50–950 ramp

primary
#252B68
secondary
#9B944E
accent
#CB51D7
background
#F6F5F9
surface
#EBEAF1
border
#C6C6CB
text
#06050D
muted
#7A797E

Preview Lab

Preview with #252B68

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

Preview Lab → · Contrast checker → · Palette generator →

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