#0D2ABE#0D2ABE

#0D2ABE is a dark, highly saturated blue. Relative luminance 0.055; OKLCH L 40.0% C 0.226 H 265.3°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#0D2ABE
RGBrgb(13, 42, 190)
HSLhsl(230, 87%, 40%)
HSVhsv(230, 93%, 75%)
CMYKcmyk(93.2%, 77.9%, 0%, 25.5%)
CIE-LABlab(28.00, 48.60, -77.63)
CIE-LCHlch(28.00, 91.59, 302.05°)
OKLaboklab(39.95% -0.0185 -0.2251)
OKLCHoklch(39.95% 0.226 265.3)
XYZxyz(10.2850, 5.4578, 49.2166)
Luminance0.0546 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D2ABE #BEA10D
analogous
#0D83BE #0D2ABE #480DBE
triadic
#0D2ABE #BE0D2A #2ABE0D
tetradic
#0D2ABE #BE0D83 #BEA10D #0DBE48
square
#0D2ABE #BE0D83 #BEA10D #0DBE48
split-complementary
#0D2ABE #BE480D #83BE0D
monochromatic
#05114B #091D85 #0D2ABE #193CEF #526DF3

Accessibility & contrast

On white

10.04
#0D2ABE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#0D2ABE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D2ABE
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D2ABE#FFFFFF#000000##FFFFFF
##0D2ABE1.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BC2
Deuteranopia (green-blind)
#0039BB
Tritanopia (blue-blind)
#005873
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #0d2abe;
/* rgb */ color: rgb(13, 42, 190);
/* oklch */ color: oklch(40.0% 0.226 265.3);
Tailwind
colors: {
  custom: {
    50: '#7866d3',
    500: '#0d2abe',
    950: '#000000',
  },
}
SCSS
$custom: #0d2abe;
$custom-light: #7866d3;
$custom-dark: #000000;
JSON
{
  "hex": "#0d2abe",
  "rgb": {
    "r": 13,
    "g": 42,
    "b": 190
  },
  "hsl": {
    "h": 230.169,
    "s": 87.192,
    "l": 39.804
  },
  "oklch": {
    "l": 0.39952,
    "c": 0.22589,
    "h": 265.3
  },
  "luminance": 0.05459
}

Semantic roles & 50–950 ramp

primary
#0D2ABE
secondary
#D5C052
accent
#DB2AFD
background
#F8F6FD
surface
#EFEBFA
border
#CAC6D3
text
#0B0614
muted
#7C7A83

Preview Lab

Preview with #0D2ABE

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

Preview Lab → · Contrast checker → · Palette generator →

#0D2ABE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva