#1825A1#1825A1

#1825A1 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.2% C 0.194 H 268.0°. Best body text is #FFFFFF at 11.55:1 contrast (WCAG AA passes).

Color values

HEX#1825A1
RGBrgb(24, 37, 161)
HSLhsl(234, 74%, 36%)
HSVhsv(234, 85%, 63%)
CMYKcmyk(85.1%, 77%, 0%, 36.9%)
CIE-LABlab(23.97, 41.90, -66.92)
CIE-LCHlch(23.97, 78.96, 302.05°)
OKLaboklab(36.21% -0.0067 -0.194)
OKLCHoklch(36.21% 0.194 268)
XYZxyz(7.4691, 4.0896, 34.1070)
Luminance0.0409 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1825A1 #A19418
analogous
#186AA1 #1825A1 #5018A1
triadic
#1825A1 #A11825 #25A118
tetradic
#1825A1 #A1186A #A19418 #18A150
square
#1825A1 #A1186A #A19418 #18A150
split-complementary
#1825A1 #A15018 #6AA118
monochromatic
#080D36 #10196C #1825A1 #2031D6 #4F5DE5

Accessibility & contrast

On white

11.55
#1825A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#1825A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1825A1
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1825A1#FFFFFF#000000##FFFFFF
##1825A11.0011.551.8211.55
#FFFFFF11.551.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A5
Deuteranopia (green-blind)
#00329F
Tritanopia (blue-blind)
#004A62
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #1825a1;
/* rgb */ color: rgb(24, 37, 161);
/* oklch */ color: oklch(36.2% 0.194 268.0);
Tailwind
colors: {
  custom: {
    50: '#7261be',
    500: '#1825a1',
    950: '#000000',
  },
}
SCSS
$custom: #1825a1;
$custom-light: #7261be;
$custom-dark: #000000;
JSON
{
  "hex": "#1825a1",
  "rgb": {
    "r": 24,
    "g": 37,
    "b": 161
  },
  "hsl": {
    "h": 234.307,
    "s": 74.054,
    "l": 36.275
  },
  "oklch": {
    "l": 0.36207,
    "c": 0.19408,
    "h": 268
  },
  "luminance": 0.04091
}

Semantic roles & 50–950 ramp

primary
#1825A1
secondary
#C7BB4E
accent
#DF37F1
background
#F7F5FB
surface
#EEEAF7
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #1825A1

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

Preview Lab → · Contrast checker → · Palette generator →

#1825A1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva