#3345CB#3345CB

#3345CB is a mid, highly saturated blue. Relative luminance 0.093; OKLCH L 46.8% C 0.206 H 270.1°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#3345CB
RGBrgb(51, 69, 203)
HSLhsl(233, 60%, 50%)
HSVhsv(233, 75%, 80%)
CMYKcmyk(74.9%, 66%, 0%, 20.4%)
CIE-LABlab(36.50, 39.45, -71.17)
CIE-LCHlch(36.50, 81.37, 299.00°)
OKLaboklab(46.84% 0.0003 -0.2059)
OKLCHoklch(46.84% 0.206 270.1)
XYZxyz(14.2692, 9.2703, 57.5257)
Luminance0.0927 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3345CB #CBB933
analogous
#3391CB #3345CB #6D33CB
triadic
#3345CB #CB3345 #45CB33
tetradic
#3345CB #CB3391 #CBB933 #33CB6D
square
#3345CB #CB3391 #CBB933 #33CB6D
split-complementary
#3345CB #CB6D33 #91CB33
monochromatic
#1A2469 #27349A #3345CB #6371D8 #949EE4

Accessibility & contrast

On white

7.36
#3345CB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#3345CB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3345CB
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3345CB#FFFFFF#000000##FFFFFF
##3345CB1.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DCF
Deuteranopia (green-blind)
#004FC8
Tritanopia (blue-blind)
#006982
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3345cb;
/* rgb */ color: rgb(51, 69, 203);
/* oklch */ color: oklch(46.8% 0.206 270.1);
Tailwind
colors: {
  custom: {
    50: '#8279dc',
    500: '#3345cb',
    950: '#000000',
  },
}
SCSS
$custom: #3345cb;
$custom-light: #8279dc;
$custom-dark: #000000;
JSON
{
  "hex": "#3345cb",
  "rgb": {
    "r": 51,
    "g": 69,
    "b": 203
  },
  "hsl": {
    "h": 232.895,
    "s": 59.843,
    "l": 49.804
  },
  "oklch": {
    "l": 0.46843,
    "c": 0.20588,
    "h": 270.1
  },
  "luminance": 0.09272
}

Semantic roles & 50–950 ramp

primary
#3345CB
secondary
#CFC78B
accent
#D045E3
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0C0915
muted
#7D7B83

Preview Lab

Preview with #3345CB

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

Preview Lab → · Contrast checker → · Palette generator →

#3345CB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva