#1D265F#1D265F

#1D265F is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.8% C 0.101 H 272.0°. Best body text is #FFFFFF at 14.05:1 contrast (WCAG AA passes).

Color values

HEX#1D265F
RGBrgb(29, 38, 95)
HSLhsl(232, 53%, 24%)
HSVhsv(232, 69%, 37%)
CMYKcmyk(69.5%, 60%, 0%, 62.7%)
CIE-LABlab(17.80, 16.85, -35.24)
CIE-LCHlch(17.80, 39.06, 295.56°)
OKLaboklab(29.79% 0.0035 -0.1013)
OKLCHoklch(29.79% 0.101 272)
XYZxyz(3.2647, 2.4734, 11.1296)
Luminance0.0247 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D265F #5F561D
analogous
#1D475F #1D265F #351D5F
triadic
#1D265F #5F1D26 #265F1D
tetradic
#1D265F #5F1D47 #5F561D #1D5F35
square
#1D265F #5F1D47 #5F561D #1D5F35
split-complementary
#1D265F #5F351D #475F1D
monochromatic
#070917 #0F1330 #1D265F #2B398E #3A4CBD

Accessibility & contrast

On white

14.05
#1D265F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#1D265F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D265F
14.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D265F#FFFFFF#000000##FFFFFF
##1D265F1.0014.051.4914.05
#FFFFFF14.051.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F61
Deuteranopia (green-blind)
#00295E
Tritanopia (blue-blind)
#00343E
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #1d265f;
/* rgb */ color: rgb(29, 38, 95);
/* oklch */ color: oklch(29.8% 0.101 272.0);
Tailwind
colors: {
  custom: {
    50: '#62608d',
    500: '#1d265f',
    950: '#000000',
  },
}
SCSS
$custom: #1d265f;
$custom-light: #62608d;
$custom-dark: #000000;
JSON
{
  "hex": "#1d265f",
  "rgb": {
    "r": 29,
    "g": 38,
    "b": 95
  },
  "hsl": {
    "h": 231.818,
    "s": 53.226,
    "l": 24.314
  },
  "oklch": {
    "l": 0.29788,
    "c": 0.10139,
    "h": 272
  },
  "luminance": 0.02474
}

Semantic roles & 50–950 ramp

primary
#1D265F
secondary
#948944
accent
#C94BDD
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05040C
muted
#7A797D

Preview Lab

Preview with #1D265F

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

Preview Lab → · Contrast checker → · Palette generator →

#1D265F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva