#0D4FE2#0D4FE2

#0D4FE2 is a mid, highly saturated blue. Relative luminance 0.112; OKLCH L 49.6% C 0.231 H 262.9°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#0D4FE2
RGBrgb(13, 79, 226)
HSLhsl(221, 89%, 47%)
HSVhsv(221, 94%, 89%)
CMYKcmyk(94.2%, 65%, 0%, 11.4%)
CIE-LABlab(39.86, 39.19, -78.91)
CIE-LCHlch(39.86, 88.10, 296.41°)
OKLaboklab(49.63% -0.0283 -0.2289)
OKLCHoklch(49.63% 0.231 262.9)
XYZxyz(16.6845, 11.1663, 73.2127)
Luminance0.1117 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D4FE2 #E2A00D
analogous
#0DBAE2 #0D4FE2 #350DE2
triadic
#0D4FE2 #E20D4F #4FE20D
tetradic
#0D4FE2 #E20DBA #E2A00D #0DE235
square
#0D4FE2 #E20DBA #E2A00D #0DE235
split-complementary
#0D4FE2 #E2350D #BAE20D
monochromatic
#06276E #0A3BA8 #0D4FE2 #3973F4 #729CF7

Accessibility & contrast

On white

6.49
#0D4FE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#0D4FE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #0D4FE2
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D4FE2#FFFFFF#000000##FFFFFF
##0D4FE21.006.493.236.49
#FFFFFF6.491.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E7
Deuteranopia (green-blind)
#0055DF
Tritanopia (blue-blind)
#007791
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #0d4fe2;
/* rgb */ color: rgb(13, 79, 226);
/* oklch */ color: oklch(49.6% 0.231 262.9);
Tailwind
colors: {
  custom: {
    50: '#7e80ec',
    500: '#0d4fe2',
    950: '#000000',
  },
}
SCSS
$custom: #0d4fe2;
$custom-light: #7e80ec;
$custom-dark: #000000;
JSON
{
  "hex": "#0d4fe2",
  "rgb": {
    "r": 13,
    "g": 79,
    "b": 226
  },
  "hsl": {
    "h": 221.408,
    "s": 89.121,
    "l": 46.863
  },
  "oklch": {
    "l": 0.49634,
    "c": 0.23065,
    "h": 262.9
  },
  "luminance": 0.11169
}

Semantic roles & 50–950 ramp

primary
#0D4FE2
secondary
#DDBB6E
accent
#BD29FF
background
#F8F7FE
surface
#F0EEFD
border
#CBC9D5
text
#0C0A16
muted
#7D7C84

Preview Lab

Preview with #0D4FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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