#234CB2#234CB2

#234CB2 is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.2% C 0.169 H 264.1°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#234CB2
RGBrgb(35, 76, 178)
HSLhsl(223, 67%, 42%)
HSVhsv(223, 80%, 70%)
CMYKcmyk(80.3%, 57.3%, 0%, 30.2%)
CIE-LABlab(35.48, 24.05, -58.21)
CIE-LCHlch(35.48, 62.98, 292.45°)
OKLaboklab(45.25% -0.0173 -0.1681)
OKLCHoklch(45.25% 0.169 264.1)
XYZxyz(11.3106, 8.7392, 43.2016)
Luminance0.0874 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234CB2 #B28923
analogous
#2394B2 #234CB2 #4223B2
triadic
#234CB2 #B2234C #4CB223
tetradic
#234CB2 #B22394 #B28923 #23B242
square
#234CB2 #B22394 #B28923 #23B242
split-complementary
#234CB2 #B24223 #94B223
monochromatic
#0F204C #19367F #234CB2 #3A67D8 #6D8FE2

Accessibility & contrast

On white

7.64
#234CB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#234CB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #234CB2
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##234CB2#FFFFFF#000000##FFFFFF
##234CB21.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB5
Deuteranopia (green-blind)
#004DB0
Tritanopia (blue-blind)
#006677
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #234cb2;
/* rgb */ color: rgb(35, 76, 178);
/* oklch */ color: oklch(45.2% 0.169 264.1);
Tailwind
colors: {
  custom: {
    50: '#767dca',
    500: '#234cb2',
    950: '#000000',
  },
}
SCSS
$custom: #234cb2;
$custom-light: #767dca;
$custom-dark: #000000;
JSON
{
  "hex": "#234cb2",
  "rgb": {
    "r": 35,
    "g": 76,
    "b": 178
  },
  "hsl": {
    "h": 222.797,
    "s": 67.136,
    "l": 41.765
  },
  "oklch": {
    "l": 0.45248,
    "c": 0.16901,
    "h": 264.1
  },
  "luminance": 0.08741
}

Semantic roles & 50–950 ramp

primary
#234CB2
secondary
#C9AD68
accent
#B93EEA
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #234CB2

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

Preview Lab → · Contrast checker → · Palette generator →

#234CB2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva