#0D265A#0D265A

#0D265A is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.5% C 0.099 H 262.6°. Best body text is #FFFFFF at 14.56:1 contrast (WCAG AA passes).

Color values

HEX#0D265A
RGBrgb(13, 38, 90)
HSLhsl(221, 75%, 20%)
HSVhsv(221, 86%, 35%)
CMYKcmyk(85.6%, 57.8%, 0%, 64.7%)
CIE-LABlab(16.55, 12.33, -33.98)
CIE-LCHlch(16.55, 36.14, 289.94°)
OKLaboklab(28.49% -0.0128 -0.098)
OKLCHoklch(28.49% 0.099 262.6)
XYZxyz(2.7039, 2.2097, 9.9549)
Luminance0.0221 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D265A #5A410D
analogous
#0D4D5A #0D265A #1A0D5A
triadic
#0D265A #5A0D26 #265A0D
tetradic
#0D265A #5A0D4D #5A410D #0D5A1A
square
#0D265A #5A0D4D #5A410D #0D5A1A
split-complementary
#0D265A #5A1A0D #4D5A0D
monochromatic
#040B1B #050F25 #0D265A #153D8F #1C53C5

Accessibility & contrast

On white

14.56
#0D265A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#0D265A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D265A
14.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D265A#FFFFFF#000000##FFFFFF
##0D265A1.0014.561.4414.56
#FFFFFF14.561.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D5C
Deuteranopia (green-blind)
#002659
Tritanopia (blue-blind)
#00333C
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #0d265a;
/* rgb */ color: rgb(13, 38, 90);
/* oklch */ color: oklch(28.5% 0.099 262.6);
Tailwind
colors: {
  custom: {
    50: '#5a5f89',
    500: '#0d265a',
    950: '#000000',
  },
}
SCSS
$custom: #0d265a;
$custom-light: #5a5f89;
$custom-dark: #000000;
JSON
{
  "hex": "#0d265a",
  "rgb": {
    "r": 13,
    "g": 38,
    "b": 90
  },
  "hsl": {
    "h": 220.519,
    "s": 74.757,
    "l": 20.196
  },
  "oklch": {
    "l": 0.2849,
    "c": 0.0988,
    "h": 262.6
  },
  "luminance": 0.0221
}

Semantic roles & 50–950 ramp

primary
#0D265A
secondary
#94732E
accent
#B536F1
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#04040B
muted
#79797C

Preview Lab

Preview with #0D265A

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

Preview Lab → · Contrast checker → · Palette generator →

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