#0D265E#0D265E

#0D265E is a dark, moderate blue. Relative luminance 0.023; OKLCH L 28.9% C 0.105 H 263.2°. Best body text is #FFFFFF at 14.42:1 contrast (WCAG AA passes).

Color values

HEX#0D265E
RGBrgb(13, 38, 94)
HSLhsl(221, 76%, 21%)
HSVhsv(221, 86%, 37%)
CMYKcmyk(86.2%, 59.6%, 0%, 63.1%)
CIE-LABlab(16.89, 14.08, -36.09)
CIE-LCHlch(16.89, 38.74, 291.32°)
OKLaboklab(28.85% -0.0124 -0.1042)
OKLCHoklch(28.85% 0.105 263.2)
XYZxyz(2.8787, 2.2796, 10.8758)
Luminance0.0228 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D265E #5E450D
analogous
#0D4E5E #0D265E #1C0D5E
triadic
#0D265E #5E0D26 #265E0D
tetradic
#0D265E #5E0D4E #5E450D #0D5E1C
square
#0D265E #5E0D4E #5E450D #0D5E1C
split-complementary
#0D265E #5E1C0D #4E5E0D
monochromatic
#040B1B #061028 #0D265E #143C94 #1C51CA

Accessibility & contrast

On white

14.42
#0D265E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#0D265E on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##0D265E#FFFFFF#000000##FFFFFF
##0D265E1.0014.421.4614.42
#FFFFFF14.421.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E60
Deuteranopia (green-blind)
#00265D
Tritanopia (blue-blind)
#00343E
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #0d265e;
/* rgb */ color: rgb(13, 38, 94);
/* oklch */ color: oklch(28.9% 0.105 263.2);
Tailwind
colors: {
  custom: {
    50: '#5b5f8c',
    500: '#0d265e',
    950: '#000000',
  },
}
SCSS
$custom: #0d265e;
$custom-light: #5b5f8c;
$custom-dark: #000000;
JSON
{
  "hex": "#0d265e",
  "rgb": {
    "r": 13,
    "g": 38,
    "b": 94
  },
  "hsl": {
    "h": 221.481,
    "s": 75.701,
    "l": 20.98
  },
  "oklch": {
    "l": 0.28855,
    "c": 0.10491,
    "h": 263.2
  },
  "luminance": 0.0228
}

Semantic roles & 50–950 ramp

primary
#0D265E
secondary
#98782F
accent
#B836F2
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#05040C
muted
#79797D

Preview Lab

Preview with #0D265E

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

Preview Lab → · Contrast checker → · Palette generator →

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