#1D2275#1D2275

#1D2275 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.1% C 0.139 H 272.4°. Best body text is #FFFFFF at 13.65:1 contrast (WCAG AA passes).

Color values

HEX#1D2275
RGBrgb(29, 34, 117)
HSLhsl(237, 60%, 29%)
HSVhsv(237, 75%, 46%)
CMYKcmyk(75.2%, 70.9%, 0%, 54.1%)
CIE-LABlab(18.75, 28.20, -48.03)
CIE-LCHlch(18.75, 55.69, 300.42°)
OKLaboklab(31.12% 0.0059 -0.1389)
OKLCHoklch(31.12% 0.139 272.4)
XYZxyz(4.2885, 2.6892, 17.1192)
Luminance0.0269 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2275 #75701D
analogous
#1D4E75 #1D2275 #441D75
triadic
#1D2275 #751D22 #22751D
tetradic
#1D2275 #751D4E #75701D #1D7544
square
#1D2275 #751D4E #75701D #1D7544
split-complementary
#1D2275 #75441D #4E751D
monochromatic
#060719 #111444 #1D2275 #2930A6 #3D46CF

Accessibility & contrast

On white

13.65
#1D2275 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#1D2275 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2275
13.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2275#FFFFFF#000000##FFFFFF
##1D22751.0013.651.5413.65
#FFFFFF13.651.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003278
Deuteranopia (green-blind)
#002973
Tritanopia (blue-blind)
#003848
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1d2275;
/* rgb */ color: rgb(29, 34, 117);
/* oklch */ color: oklch(31.1% 0.139 272.4);
Tailwind
colors: {
  custom: {
    50: '#685d9e',
    500: '#1d2275',
    950: '#000000',
  },
}
SCSS
$custom: #1d2275;
$custom-light: #685d9e;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2275",
  "rgb": {
    "r": 29,
    "g": 34,
    "b": 117
  },
  "hsl": {
    "h": 236.591,
    "s": 60.274,
    "l": 28.627
  },
  "oklch": {
    "l": 0.31119,
    "c": 0.13899,
    "h": 272.4
  },
  "luminance": 0.0269
}

Semantic roles & 50–950 ramp

primary
#1D2275
secondary
#A9A345
accent
#DA44E3
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #1D2275

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

Preview Lab → · Contrast checker → · Palette generator →

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