#333C68#333C68

#333C68 is a dark, moderate blue. Relative luminance 0.049; OKLCH L 37.0% C 0.076 H 273.4°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#333C68
RGBrgb(51, 60, 104)
HSLhsl(230, 34%, 30%)
HSVhsv(230, 51%, 41%)
CMYKcmyk(51%, 42.3%, 0%, 59.2%)
CIE-LABlab(26.55, 9.75, -27.00)
CIE-LCHlch(26.55, 28.71, 289.86°)
OKLaboklab(37.04% 0.0045 -0.0763)
OKLCHoklch(37.04% 0.076 273.4)
XYZxyz(5.4790, 4.9347, 13.7578)
Luminance0.0493 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333C68 #685F33
analogous
#335668 #333C68 #443368
triadic
#333C68 #68333C #3C6833
tetradic
#333C68 #683356 #685F33 #336844
square
#333C68 #683356 #685F33 #336844
split-complementary
#333C68 #684433 #566833
monochromatic
#0B0D16 #1F243F #333C68 #475491 #6370B2

Accessibility & contrast

On white

10.57
#333C68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#333C68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333C68
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333C68#FFFFFF#000000##FFFFFF
##333C681.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B416A
Deuteranopia (green-blind)
#263D67
Tritanopia (blue-blind)
#1F454D
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #333c68;
/* rgb */ color: rgb(51, 60, 104);
/* oklch */ color: oklch(37.0% 0.076 273.4);
Tailwind
colors: {
  custom: {
    50: '#6e7193',
    500: '#333c68',
    950: '#000000',
  },
}
SCSS
$custom: #333c68;
$custom-light: #6e7193;
$custom-dark: #000000;
JSON
{
  "hex": "#333c68",
  "rgb": {
    "r": 51,
    "g": 60,
    "b": 104
  },
  "hsl": {
    "h": 229.811,
    "s": 34.194,
    "l": 30.392
  },
  "oklch": {
    "l": 0.37038,
    "c": 0.07645,
    "h": 273.4
  },
  "luminance": 0.04935
}

Semantic roles & 50–950 ramp

primary
#333C68
secondary
#998F5E
accent
#B85ECA
background
#F6F6F9
surface
#ECECF1
border
#C7C7CB
text
#07070D
muted
#7A7A7E

Preview Lab

Preview with #333C68

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

Preview Lab → · Contrast checker → · Palette generator →

#333C68 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva