#253274#253274

#253274 is a dark, moderate blue. Relative luminance 0.039; OKLCH L 34.7% C 0.114 H 270.9°. Best body text is #FFFFFF at 11.75:1 contrast (WCAG AA passes).

Color values

HEX#253274
RGBrgb(37, 50, 116)
HSLhsl(230, 52%, 30%)
HSVhsv(230, 68%, 45%)
CMYKcmyk(68.1%, 56.9%, 0%, 54.5%)
CIE-LABlab(23.46, 17.96, -39.69)
CIE-LCHlch(23.46, 43.57, 294.35°)
OKLaboklab(34.7% 0.0018 -0.1141)
OKLCHoklch(34.7% 0.114 270.9)
XYZxyz(5.0549, 3.9350, 17.0128)
Luminance0.0394 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253274 #746725
analogous
#255974 #253274 #402574
triadic
#253274 #742532 #327425
tetradic
#253274 #742559 #746725 #257440
square
#253274 #742559 #746725 #257440
split-complementary
#253274 #744025 #597425
monochromatic
#070A17 #161E46 #253274 #3446A2 #4D61C6

Accessibility & contrast

On white

11.75
#253274 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#253274 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253274
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253274#FFFFFF#000000##FFFFFF
##2532741.0011.751.7911.75
#FFFFFF11.751.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#023C76
Deuteranopia (green-blind)
#003473
Tritanopia (blue-blind)
#00424E
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #253274;
/* rgb */ color: rgb(37, 50, 116);
/* oklch */ color: oklch(34.7% 0.114 270.9);
Tailwind
colors: {
  custom: {
    50: '#69699d',
    500: '#253274',
    950: '#000000',
  },
}
SCSS
$custom: #253274;
$custom-light: #69699d;
$custom-dark: #000000;
JSON
{
  "hex": "#253274",
  "rgb": {
    "r": 37,
    "g": 50,
    "b": 116
  },
  "hsl": {
    "h": 230.127,
    "s": 51.634,
    "l": 30
  },
  "oklch": {
    "l": 0.34697,
    "c": 0.11407,
    "h": 270.9
  },
  "luminance": 0.03935
}

Semantic roles & 50–950 ramp

primary
#253274
secondary
#A7984E
accent
#C44DDB
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #253274

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

Preview Lab → · Contrast checker → · Palette generator →

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