#1D265E#1D265E

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

Color values

HEX#1D265E
RGBrgb(29, 38, 94)
HSLhsl(232, 53%, 24%)
HSVhsv(232, 69%, 37%)
CMYKcmyk(69.1%, 59.6%, 0%, 63.1%)
CIE-LABlab(17.72, 16.45, -34.71)
CIE-LCHlch(17.72, 38.41, 295.36°)
OKLaboklab(29.7% 0.0035 -0.0998)
OKLCHoklch(29.7% 0.1 272)
XYZxyz(3.2195, 2.4553, 10.8918)
Luminance0.0246 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D265E #5E551D
analogous
#1D475E #1D265E #351D5E
triadic
#1D265E #5E1D26 #265E1D
tetradic
#1D265E #5E1D47 #5E551D #1D5E35
square
#1D265E #5E1D47 #5E551D #1D5E35
split-complementary
#1D265E #5E351D #475E1D
monochromatic
#070917 #0F132F #1D265E #2B398D #3A4CBC

Accessibility & contrast

On white

14.08
#1D265E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D265E
14.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D265E#FFFFFF#000000##FFFFFF
##1D265E1.0014.081.4914.08
#FFFFFF14.081.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E60
Deuteranopia (green-blind)
#00295D
Tritanopia (blue-blind)
#00333E
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #1d265e;
/* rgb */ color: rgb(29, 38, 94);
/* oklch */ color: oklch(29.7% 0.100 272.0);
Tailwind
colors: {
  custom: {
    50: '#62608c',
    500: '#1d265e',
    950: '#000000',
  },
}
SCSS
$custom: #1d265e;
$custom-light: #62608c;
$custom-dark: #000000;
JSON
{
  "hex": "#1d265e",
  "rgb": {
    "r": 29,
    "g": 38,
    "b": 94
  },
  "hsl": {
    "h": 231.692,
    "s": 52.846,
    "l": 24.118
  },
  "oklch": {
    "l": 0.297,
    "c": 0.09983,
    "h": 272
  },
  "luminance": 0.02456
}

Semantic roles & 50–950 ramp

primary
#1D265E
secondary
#938844
accent
#C84CDC
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05040C
muted
#7A797D

Preview Lab

Preview with #1D265E

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

Preview Lab → · Contrast checker → · Palette generator →

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