#234178#234178

#234178 is a dark, moderate blue. Relative luminance 0.055; OKLCH L 38.3% C 0.101 H 261.4°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#234178
RGBrgb(35, 65, 120)
HSLhsl(219, 55%, 30%)
HSVhsv(219, 71%, 47%)
CMYKcmyk(70.8%, 45.8%, 0%, 52.9%)
CIE-LABlab(28.10, 8.71, -34.77)
CIE-LCHlch(28.10, 35.84, 284.06°)
OKLaboklab(38.29% -0.015 -0.0994)
OKLCHoklch(38.29% 0.101 261.4)
XYZxyz(5.9724, 5.4934, 18.5112)
Luminance0.0549 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234178 #785A23
analogous
#236B78 #234178 #302378
triadic
#234178 #782341 #417823
tetradic
#234178 #78236B #785A23 #237830
square
#234178 #78236B #785A23 #237830
split-complementary
#234178 #783023 #6B7823
monochromatic
#070E19 #152749 #234178 #315BA7 #4B78CA

Accessibility & contrast

On white

10.01
#234178 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#234178 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #234178
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##234178#FFFFFF#000000##FFFFFF
##2341781.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26467A
Deuteranopia (green-blind)
#183F77
Tritanopia (blue-blind)
#004E56
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #234178;
/* rgb */ color: rgb(35, 65, 120);
/* oklch */ color: oklch(38.3% 0.101 261.4);
Tailwind
colors: {
  custom: {
    50: '#69759f',
    500: '#234178',
    950: '#000000',
  },
}
SCSS
$custom: #234178;
$custom-light: #69759f;
$custom-dark: #000000;
JSON
{
  "hex": "#234178",
  "rgb": {
    "r": 35,
    "g": 65,
    "b": 120
  },
  "hsl": {
    "h": 218.824,
    "s": 54.839,
    "l": 30.392
  },
  "oklch": {
    "l": 0.38294,
    "c": 0.1005,
    "h": 261.4
  },
  "luminance": 0.05494
}

Semantic roles & 50–950 ramp

primary
#234178
secondary
#AB894C
accent
#AA4ADE
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #234178

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

Preview Lab → · Contrast checker → · Palette generator →

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