#253FB1#253FB1

#253FB1 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.7% C 0.183 H 267.6°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#253FB1
RGBrgb(37, 63, 177)
HSLhsl(229, 65%, 42%)
HSVhsv(229, 79%, 69%)
CMYKcmyk(79.1%, 64.4%, 0%, 30.6%)
CIE-LABlab(32.08, 32.46, -63.16)
CIE-LCHlch(32.08, 71.01, 297.20°)
OKLaboklab(42.72% -0.0077 -0.1828)
OKLCHoklch(42.72% 0.183 267.6)
XYZxyz(10.4735, 7.1215, 42.4090)
Luminance0.0712 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253FB1 #B19725
analogous
#2585B1 #253FB1 #5125B1
triadic
#253FB1 #B1253F #3FB125
tetradic
#253FB1 #B12585 #B19725 #25B151
square
#253FB1 #B12585 #B19725 #25B151
split-complementary
#253FB1 #B15125 #85B125
monochromatic
#101B4C #1A2D7E #253FB1 #3D59D6 #6F85E1

Accessibility & contrast

On white

8.66
#253FB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#253FB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253FB1
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253FB1#FFFFFF#000000##FFFFFF
##253FB11.008.662.428.66
#FFFFFF8.661.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B5
Deuteranopia (green-blind)
#0045AF
Tritanopia (blue-blind)
#005D72
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #253fb1;
/* rgb */ color: rgb(37, 63, 177);
/* oklch */ color: oklch(42.7% 0.183 267.6);
Tailwind
colors: {
  custom: {
    50: '#7774c9',
    500: '#253fb1',
    950: '#000000',
  },
}
SCSS
$custom: #253fb1;
$custom-light: #7774c9;
$custom-dark: #000000;
JSON
{
  "hex": "#253fb1",
  "rgb": {
    "r": 37,
    "g": 63,
    "b": 177
  },
  "hsl": {
    "h": 228.857,
    "s": 65.421,
    "l": 41.961
  },
  "oklch": {
    "l": 0.42715,
    "c": 0.18293,
    "h": 267.6
  },
  "luminance": 0.07123
}

Semantic roles & 50–950 ramp

primary
#253FB1
secondary
#C8B66A
accent
#C93FE8
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #253FB1

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

Preview Lab → · Contrast checker → · Palette generator →

#253FB1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva