#233278#233278

#233278 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 34.9% C 0.121 H 269.9°. Best body text is #FFFFFF at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#233278
RGBrgb(35, 50, 120)
HSLhsl(229, 55%, 30%)
HSVhsv(229, 71%, 47%)
CMYKcmyk(70.8%, 58.3%, 0%, 52.9%)
CIE-LABlab(23.65, 19.17, -41.93)
CIE-LCHlch(23.65, 46.11, 294.58°)
OKLaboklab(34.91% -0.0002 -0.1207)
OKLCHoklch(34.91% 0.121 269.9)
XYZxyz(5.2227, 3.9941, 18.2614)
Luminance0.0399 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233278 #786923
analogous
#235C78 #233278 #3E2378
triadic
#233278 #782332 #327823
tetradic
#233278 #78235C #786923 #23783E
square
#233278 #78235C #786923 #23783E
split-complementary
#233278 #783E23 #5C7823
monochromatic
#070B19 #151E49 #233278 #3146A7 #4B61CA

Accessibility & contrast

On white

11.67
#233278 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#233278 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233278
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233278#FFFFFF#000000##FFFFFF
##2332781.0011.671.8011.67
#FFFFFF11.671.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7A
Deuteranopia (green-blind)
#003577
Tritanopia (blue-blind)
#004350
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #233278;
/* rgb */ color: rgb(35, 50, 120);
/* oklch */ color: oklch(34.9% 0.121 269.9);
Tailwind
colors: {
  custom: {
    50: '#6969a0',
    500: '#233278',
    950: '#000000',
  },
}
SCSS
$custom: #233278;
$custom-light: #6969a0;
$custom-dark: #000000;
JSON
{
  "hex": "#233278",
  "rgb": {
    "r": 35,
    "g": 50,
    "b": 120
  },
  "hsl": {
    "h": 229.412,
    "s": 54.839,
    "l": 30.392
  },
  "oklch": {
    "l": 0.34913,
    "c": 0.12068,
    "h": 269.9
  },
  "luminance": 0.03995
}

Semantic roles & 50–950 ramp

primary
#233278
secondary
#AB9A4C
accent
#C44ADE
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060F
muted
#7A7A7E

Preview Lab

Preview with #233278

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

Preview Lab → · Contrast checker → · Palette generator →

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