#252267#252267

#252267 is a dark, moderate blue. Relative luminance 0.025; OKLCH L 30.3% C 0.117 H 278.7°. Best body text is #FFFFFF at 13.97:1 contrast (WCAG AA passes).

Color values

HEX#252267
RGBrgb(37, 34, 103)
HSLhsl(243, 50%, 27%)
HSVhsv(243, 67%, 40%)
CMYKcmyk(64.1%, 67%, 0%, 59.6%)
CIE-LABlab(17.99, 24.19, -40.17)
CIE-LCHlch(17.99, 46.88, 301.05°)
OKLaboklab(30.31% 0.0178 -0.1156)
OKLCHoklch(30.31% 0.117 278.7)
XYZxyz(3.7824, 2.5164, 13.1157)
Luminance0.0252 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252267 #646722
analogous
#224267 #252267 #482267
triadic
#252267 #672522 #226725
tetradic
#252267 #672242 #646722 #226748
square
#252267 #672242 #646722 #226748
split-complementary
#252267 #674822 #426722
monochromatic
#080817 #141339 #252267 #363195 #4843C1

Accessibility & contrast

On white

13.97
#252267 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#252267 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252267
13.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252267#FFFFFF#000000##FFFFFF
##2522671.0013.971.5013.97
#FFFFFF13.971.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F69
Deuteranopia (green-blind)
#002966
Tritanopia (blue-blind)
#003341
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #252267;
/* rgb */ color: rgb(37, 34, 103);
/* oklch */ color: oklch(30.3% 0.117 278.7);
Tailwind
colors: {
  custom: {
    50: '#685d93',
    500: '#252267',
    950: '#000000',
  },
}
SCSS
$custom: #252267;
$custom-light: #685d93;
$custom-dark: #000000;
JSON
{
  "hex": "#252267",
  "rgb": {
    "r": 37,
    "g": 34,
    "b": 103
  },
  "hsl": {
    "h": 242.609,
    "s": 50.365,
    "l": 26.863
  },
  "oklch": {
    "l": 0.30305,
    "c": 0.11696,
    "h": 278.7
  },
  "luminance": 0.02517
}

Semantic roles & 50–950 ramp

primary
#252267
secondary
#979B4A
accent
#DA4ED4
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#07040D
muted
#7A797E

Preview Lab

Preview with #252267

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

Preview Lab → · Contrast checker → · Palette generator →

#252267 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva