#253A7B#253A7B

#253A7B is a dark, moderate blue. Relative luminance 0.048; OKLCH L 37.0% C 0.114 H 267.2°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#253A7B
RGBrgb(37, 58, 123)
HSLhsl(225, 54%, 31%)
HSVhsv(225, 70%, 48%)
CMYKcmyk(69.9%, 52.8%, 0%, 51.8%)
CIE-LABlab(26.30, 15.08, -39.54)
CIE-LCHlch(26.30, 42.32, 290.88°)
OKLaboklab(37.01% -0.0055 -0.1135)
OKLCHoklch(37.01% 0.114 267.2)
XYZxyz(5.8499, 4.8489, 19.3627)
Luminance0.0485 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253A7B #7B6625
analogous
#25657B #253A7B #3B257B
triadic
#253A7B #7B253A #3A7B25
tetradic
#253A7B #7B2565 #7B6625 #257B3B
square
#253A7B #7B2565 #7B6625 #257B3B
split-complementary
#253A7B #7B3B25 #657B25
monochromatic
#090E1D #17244C #253A7B #3350AA #506ECA

Accessibility & contrast

On white

10.66
#253A7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#253A7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253A7B
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253A7B#FFFFFF#000000##FFFFFF
##253A7B1.0010.661.9710.66
#FFFFFF10.661.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14427D
Deuteranopia (green-blind)
#003B7A
Tritanopia (blue-blind)
#004954
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #253a7b;
/* rgb */ color: rgb(37, 58, 123);
/* oklch */ color: oklch(37.0% 0.114 267.2);
Tailwind
colors: {
  custom: {
    50: '#6a6fa2',
    500: '#253a7b',
    950: '#000000',
  },
}
SCSS
$custom: #253a7b;
$custom-light: #6a6fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#253a7b",
  "rgb": {
    "r": 37,
    "g": 58,
    "b": 123
  },
  "hsl": {
    "h": 225.349,
    "s": 53.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.37013,
    "c": 0.11362,
    "h": 267.2
  },
  "luminance": 0.04849
}

Semantic roles & 50–950 ramp

primary
#253A7B
secondary
#AD964F
accent
#B94BDD
background
#F6F6FA
surface
#ECECF3
border
#C7C7CD
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #253A7B

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

Preview Lab → · Contrast checker → · Palette generator →

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