#233378#233378

#233378 is a dark, moderate blue. Relative luminance 0.041; OKLCH L 35.1% C 0.119 H 269.5°. Best body text is #FFFFFF at 11.56:1 contrast (WCAG AA passes).

Color values

HEX#233378
RGBrgb(35, 51, 120)
HSLhsl(229, 55%, 30%)
HSVhsv(229, 71%, 47%)
CMYKcmyk(70.8%, 57.5%, 0%, 52.9%)
CIE-LABlab(23.94, 18.48, -41.47)
CIE-LCHlch(23.94, 45.40, 294.01°)
OKLaboklab(35.13% -0.0011 -0.1193)
OKLCHoklch(35.13% 0.119 269.5)
XYZxyz(5.2660, 4.0805, 18.2758)
Luminance0.0408 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233378 #786823
analogous
#235D78 #233378 #3D2378
triadic
#233378 #782333 #337823
tetradic
#233378 #78235D #786823 #23783D
square
#233378 #78235D #786823 #23783D
split-complementary
#233378 #783D23 #5D7823
monochromatic
#070B19 #151F49 #233378 #3147A7 #4B63CA

Accessibility & contrast

On white

11.56
#233378 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#233378 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233378
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233378#FFFFFF#000000##FFFFFF
##2333781.0011.561.8211.56
#FFFFFF11.561.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7A
Deuteranopia (green-blind)
#003577
Tritanopia (blue-blind)
#004450
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #233378;
/* rgb */ color: rgb(35, 51, 120);
/* oklch */ color: oklch(35.1% 0.119 269.5);
Tailwind
colors: {
  custom: {
    50: '#696aa0',
    500: '#233378',
    950: '#000000',
  },
}
SCSS
$custom: #233378;
$custom-light: #696aa0;
$custom-dark: #000000;
JSON
{
  "hex": "#233378",
  "rgb": {
    "r": 35,
    "g": 51,
    "b": 120
  },
  "hsl": {
    "h": 228.706,
    "s": 54.839,
    "l": 30.392
  },
  "oklch": {
    "l": 0.35126,
    "c": 0.11932,
    "h": 269.5
  },
  "luminance": 0.04081
}

Semantic roles & 50–950 ramp

primary
#233378
secondary
#AB994C
accent
#C24ADE
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060F
muted
#7A7A7E

Preview Lab

Preview with #233378

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

Preview Lab → · Contrast checker → · Palette generator →

#233378 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva