#0C33DB#0C33DB

#0C33DB is a dark, highly saturated blue. Relative luminance 0.076; OKLCH L 44.5% C 0.251 H 264.8°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#0C33DB
RGBrgb(12, 51, 219)
HSLhsl(229, 90%, 45%)
HSVhsv(229, 95%, 86%)
CMYKcmyk(94.5%, 76.7%, 0%, 14.1%)
CIE-LABlab(33.05, 53.39, -86.16)
CIE-LCHlch(33.05, 101.36, 301.79°)
OKLaboklab(44.49% -0.0227 -0.2499)
OKLCHoklch(44.49% 0.251 264.8)
XYZxyz(14.1171, 7.5584, 67.7189)
Luminance0.0756 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C33DB #DBB40C
analogous
#0C9ADB #0C33DB #4D0CDB
triadic
#0C33DB #DB0C33 #33DB0C
tetradic
#0C33DB #DB0C9A #DBB40C #0CDB4D
square
#0C33DB #DB0C9A #DBB40C #0CDB4D
split-complementary
#0C33DB #DB4D0C #9ADB0C
monochromatic
#061867 #0925A1 #0C33DB #3155F4 #6B85F7

Accessibility & contrast

On white

8.36
#0C33DB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#0C33DB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C33DB
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C33DB#FFFFFF#000000##FFFFFF
##0C33DB1.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058E0
Deuteranopia (green-blind)
#0043D8
Tritanopia (blue-blind)
#006786
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #0c33db;
/* rgb */ color: rgb(12, 51, 219);
/* oklch */ color: oklch(44.5% 0.251 264.8);
Tailwind
colors: {
  custom: {
    50: '#7f6de8',
    500: '#0c33db',
    950: '#000000',
  },
}
SCSS
$custom: #0c33db;
$custom-light: #7f6de8;
$custom-dark: #000000;
JSON
{
  "hex": "#0c33db",
  "rgb": {
    "r": 12,
    "g": 51,
    "b": 219
  },
  "hsl": {
    "h": 228.696,
    "s": 89.61,
    "l": 45.294
  },
  "oklch": {
    "l": 0.44486,
    "c": 0.25094,
    "h": 264.8
  },
  "luminance": 0.0756
}

Semantic roles & 50–950 ramp

primary
#0C33DB
secondary
#DCC667
accent
#D729FF
background
#F8F6FE
surface
#F0ECFD
border
#CBC7D5
text
#0D0716
muted
#7D7A84

Preview Lab

Preview with #0C33DB

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

Preview Lab → · Contrast checker → · Palette generator →

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