#0C2653#0C2653

#0C2653 is a dark, moderate blue. Relative luminance 0.021; OKLCH L 27.8% C 0.088 H 260.6°. Best body text is #FFFFFF at 14.81:1 contrast (WCAG AA passes).

Color values

HEX#0C2653
RGBrgb(12, 38, 83)
HSLhsl(218, 75%, 19%)
HSVhsv(218, 86%, 33%)
CMYKcmyk(85.5%, 54.2%, 0%, 67.5%)
CIE-LABlab(15.95, 9.10, -30.26)
CIE-LCHlch(15.95, 31.60, 286.74°)
OKLaboklab(27.84% -0.0145 -0.087)
OKLCHoklch(27.84% 0.088 260.6)
XYZxyz(2.4055, 2.0886, 8.4583)
Luminance0.0209 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2653 #53390C
analogous
#0C4953 #0C2653 #150C53
triadic
#0C2653 #530C26 #26530C
tetradic
#0C2653 #530C49 #53390C #0C5315
square
#0C2653 #530C49 #53390C #0C5315
split-complementary
#0C2653 #53150C #49530C
monochromatic
#040C1B #040E1E #0C2653 #143E88 #1B57BE

Accessibility & contrast

On white

14.81
#0C2653 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#0C2653 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2653
14.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2653#FFFFFF#000000##FFFFFF
##0C26531.0014.811.4214.81
#FFFFFF14.811.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B2B55
Deuteranopia (green-blind)
#002552
Tritanopia (blue-blind)
#003138
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #0c2653;
/* rgb */ color: rgb(12, 38, 83);
/* oklch */ color: oklch(27.8% 0.088 260.6);
Tailwind
colors: {
  custom: {
    50: '#585f84',
    500: '#0c2653',
    950: '#000000',
  },
}
SCSS
$custom: #0c2653;
$custom-light: #585f84;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2653",
  "rgb": {
    "r": 12,
    "g": 38,
    "b": 83
  },
  "hsl": {
    "h": 218.028,
    "s": 74.737,
    "l": 18.627
  },
  "oklch": {
    "l": 0.27838,
    "c": 0.08824,
    "h": 260.6
  },
  "luminance": 0.02089
}

Semantic roles & 50–950 ramp

primary
#0C2653
secondary
#8E6A2D
accent
#AD36F1
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040B
muted
#79797C

Preview Lab

Preview with #0C2653

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

Preview Lab → · Contrast checker → · Palette generator →

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