#252C69#252C69

#252C69 is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.5% C 0.106 H 274.0°. Best body text is #FFFFFF at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#252C69
RGBrgb(37, 44, 105)
HSLhsl(234, 48%, 28%)
HSVhsv(234, 65%, 41%)
CMYKcmyk(64.8%, 58.1%, 0%, 58.8%)
CIE-LABlab(20.88, 17.97, -36.78)
CIE-LCHlch(20.88, 40.93, 296.04°)
OKLaboklab(32.5% 0.0074 -0.1055)
OKLCHoklch(32.5% 0.106 274)
XYZxyz(4.2126, 3.2143, 13.7603)
Luminance0.0321 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252C69 #696225
analogous
#254E69 #252C69 #402569
triadic
#252C69 #69252C #2C6925
tetradic
#252C69 #69254E #696225 #256940
square
#252C69 #69254E #696225 #256940
split-complementary
#252C69 #694025 #4E6925
monochromatic
#080917 #15193C #252C69 #353F96 #4956BF

Accessibility & contrast

On white

12.78
#252C69 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#252C69 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252C69
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252C69#FFFFFF#000000##FFFFFF
##252C691.0012.781.6412.78
#FFFFFF12.781.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01356B
Deuteranopia (green-blind)
#002F68
Tritanopia (blue-blind)
#003A46
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #252c69;
/* rgb */ color: rgb(37, 44, 105);
/* oklch */ color: oklch(32.5% 0.106 274.0);
Tailwind
colors: {
  custom: {
    50: '#676594',
    500: '#252c69',
    950: '#000000',
  },
}
SCSS
$custom: #252c69;
$custom-light: #676594;
$custom-dark: #000000;
JSON
{
  "hex": "#252c69",
  "rgb": {
    "r": 37,
    "g": 44,
    "b": 105
  },
  "hsl": {
    "h": 233.824,
    "s": 47.887,
    "l": 27.843
  },
  "oklch": {
    "l": 0.32495,
    "c": 0.10581,
    "h": 274
  },
  "luminance": 0.03215
}

Semantic roles & 50–950 ramp

primary
#252C69
secondary
#9C944E
accent
#CA50D7
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#06050D
muted
#7A7A7E

Preview Lab

Preview with #252C69

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

Preview Lab → · Contrast checker → · Palette generator →

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