#0C3255#0C3255

#0C3255 is a dark, moderate cyan. Relative luminance 0.030; OKLCH L 31.1% C 0.076 H 250.3°. Best body text is #FFFFFF at 13.10:1 contrast (WCAG AA passes).

Color values

HEX#0C3255
RGBrgb(12, 50, 85)
HSLhsl(209, 75%, 19%)
HSVhsv(209, 86%, 33%)
CMYKcmyk(85.9%, 41.2%, 0%, 66.7%)
CIE-LABlab(20.10, 1.18, -24.94)
CIE-LCHlch(20.10, 24.97, 272.71°)
OKLaboklab(31.11% -0.0255 -0.0711)
OKLCHoklch(31.11% 0.076 250.3)
XYZxyz(2.9313, 3.0149, 9.0200)
Luminance0.0301 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C3255 #552F0C
analogous
#0C5554 #0C3255 #0C0E55
triadic
#0C3255 #550C32 #32550C
tetradic
#0C3255 #540C55 #552F0C #0E550C
square
#0C3255 #540C55 #552F0C #0E550C
split-complementary
#0C3255 #550C0E #55540C
monochromatic
#04101B #04121F #0C3255 #14528B #1B71C0

Accessibility & contrast

On white

13.10
#0C3255 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#0C3255 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C3255
13.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C3255#FFFFFF#000000##FFFFFF
##0C32551.0013.101.6013.10
#FFFFFF13.101.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#213456
Deuteranopia (green-blind)
#162E54
Tritanopia (blue-blind)
#003A3F
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #0c3255;
/* rgb */ color: rgb(12, 50, 85);
/* oklch */ color: oklch(31.1% 0.076 250.3);
Tailwind
colors: {
  custom: {
    50: '#586985',
    500: '#0c3255',
    950: '#000000',
  },
}
SCSS
$custom: #0c3255;
$custom-light: #586985;
$custom-dark: #000000;
JSON
{
  "hex": "#0c3255",
  "rgb": {
    "r": 12,
    "g": 50,
    "b": 85
  },
  "hsl": {
    "h": 208.767,
    "s": 75.258,
    "l": 19.02
  },
  "oklch": {
    "l": 0.31106,
    "c": 0.07557,
    "h": 250.3
  },
  "luminance": 0.03015
}

Semantic roles & 50–950 ramp

primary
#0C3255
secondary
#905C2D
accent
#9036F2
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04060B
muted
#797A7C

Preview Lab

Preview with #0C3255

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

Preview Lab → · Contrast checker → · Palette generator →

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