#0C2250#0C2250

#0C2250 is a dark, moderate blue. Relative luminance 0.018; OKLCH L 26.6% C 0.089 H 262.7°. Best body text is #FFFFFF at 15.44:1 contrast (WCAG AA passes).

Color values

HEX#0C2250
RGBrgb(12, 34, 80)
HSLhsl(221, 74%, 18%)
HSVhsv(221, 85%, 31%)
CMYKcmyk(85%, 57.5%, 0%, 68.6%)
CIE-LABlab(14.41, 10.80, -30.71)
CIE-LCHlch(14.41, 32.56, 289.38°)
OKLaboklab(26.59% -0.0114 -0.0885)
OKLCHoklch(26.59% 0.089 262.7)
XYZxyz(2.1711, 1.8012, 7.8211)
Luminance0.0180 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2250 #503A0C
analogous
#0C4450 #0C2250 #180C50
triadic
#0C2250 #500C22 #22500C
tetradic
#0C2250 #500C44 #503A0C #0C5018
square
#0C2250 #500C44 #503A0C #0C5018
split-complementary
#0C2250 #50180C #44500C
monochromatic
#040B1B #040B1B #0C2250 #143985 #1C4FBA

Accessibility & contrast

On white

15.44
#0C2250 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#0C2250 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2250
15.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2250#FFFFFF#000000##FFFFFF
##0C22501.0015.441.3615.44
#FFFFFF15.441.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#032852
Deuteranopia (green-blind)
#00214F
Tritanopia (blue-blind)
#002D35
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #0c2250;
/* rgb */ color: rgb(12, 34, 80);
/* oklch */ color: oklch(26.6% 0.089 262.7);
Tailwind
colors: {
  custom: {
    50: '#575c81',
    500: '#0c2250',
    950: '#000000',
  },
}
SCSS
$custom: #0c2250;
$custom-light: #575c81;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2250",
  "rgb": {
    "r": 12,
    "g": 34,
    "b": 80
  },
  "hsl": {
    "h": 220.588,
    "s": 73.913,
    "l": 18.039
  },
  "oklch": {
    "l": 0.26587,
    "c": 0.0892,
    "h": 262.7
  },
  "luminance": 0.01801
}

Semantic roles & 50–950 ramp

primary
#0C2250
secondary
#8B6D2C
accent
#B537F1
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04040A
muted
#79797C

Preview Lab

Preview with #0C2250

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

Preview Lab → · Contrast checker → · Palette generator →

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