#333A67#333A67

#333A67 is a dark, moderate blue. Relative luminance 0.047; OKLCH L 36.5% C 0.078 H 275.2°. Best body text is #FFFFFF at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#333A67
RGBrgb(51, 58, 103)
HSLhsl(232, 34%, 30%)
HSVhsv(232, 50%, 40%)
CMYKcmyk(50.5%, 43.7%, 0%, 59.6%)
CIE-LABlab(25.89, 10.77, -27.40)
CIE-LCHlch(25.89, 29.44, 291.46°)
OKLaboklab(36.51% 0.007 -0.0775)
OKLCHoklch(36.51% 0.078 275.2)
XYZxyz(5.3257, 4.7089, 13.4576)
Luminance0.0471 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333A67 #676033
analogous
#335467 #333A67 #463367
triadic
#333A67 #67333A #3A6733
tetradic
#333A67 #673354 #676033 #336746
square
#333A67 #673354 #676033 #336746
split-complementary
#333A67 #674633 #546733
monochromatic
#0A0C15 #1F233E #333A67 #475190 #636DB2

Accessibility & contrast

On white

10.81
#333A67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#333A67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333A67
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333A67#FFFFFF#000000##FFFFFF
##333A671.0010.811.9410.81
#FFFFFF10.811.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294069
Deuteranopia (green-blind)
#243B66
Tritanopia (blue-blind)
#1F434B
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #333a67;
/* rgb */ color: rgb(51, 58, 103);
/* oklch */ color: oklch(36.5% 0.078 275.2);
Tailwind
colors: {
  custom: {
    50: '#6e7092',
    500: '#333a67',
    950: '#000000',
  },
}
SCSS
$custom: #333a67;
$custom-light: #6e7092;
$custom-dark: #000000;
JSON
{
  "hex": "#333a67",
  "rgb": {
    "r": 51,
    "g": 58,
    "b": 103
  },
  "hsl": {
    "h": 231.923,
    "s": 33.766,
    "l": 30.196
  },
  "oklch": {
    "l": 0.36514,
    "c": 0.07783,
    "h": 275.2
  },
  "luminance": 0.04709
}

Semantic roles & 50–950 ramp

primary
#333A67
secondary
#98905E
accent
#BB5ECA
background
#F6F6F9
surface
#ECECF1
border
#C7C7CB
text
#07070D
muted
#7A7A7E

Preview Lab

Preview with #333A67

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

Preview Lab → · Contrast checker → · Palette generator →

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