#234EB2#234EB2

#234EB2 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.7% C 0.167 H 263.6°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#234EB2
RGBrgb(35, 78, 178)
HSLhsl(222, 67%, 42%)
HSVhsv(222, 80%, 70%)
CMYKcmyk(80.3%, 56.2%, 0%, 30.2%)
CIE-LABlab(36.02, 22.72, -57.33)
CIE-LCHlch(36.02, 61.66, 291.62°)
OKLaboklab(45.66% -0.0186 -0.1655)
OKLCHoklch(45.66% 0.167 263.6)
XYZxyz(11.4505, 9.0191, 43.2482)
Luminance0.0902 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234EB2 #B28723
analogous
#2396B2 #234EB2 #4023B2
triadic
#234EB2 #B2234E #4EB223
tetradic
#234EB2 #B22396 #B28723 #23B240
square
#234EB2 #B22396 #B28723 #23B240
split-complementary
#234EB2 #B24023 #96B223
monochromatic
#0F214C #19387F #234EB2 #3A6AD8 #6D90E2

Accessibility & contrast

On white

7.49
#234EB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#234EB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #234EB2
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##234EB2#FFFFFF#000000##FFFFFF
##234EB21.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB5
Deuteranopia (green-blind)
#004EB0
Tritanopia (blue-blind)
#006778
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #234eb2;
/* rgb */ color: rgb(35, 78, 178);
/* oklch */ color: oklch(45.7% 0.167 263.6);
Tailwind
colors: {
  custom: {
    50: '#767fca',
    500: '#234eb2',
    950: '#000000',
  },
}
SCSS
$custom: #234eb2;
$custom-light: #767fca;
$custom-dark: #000000;
JSON
{
  "hex": "#234eb2",
  "rgb": {
    "r": 35,
    "g": 78,
    "b": 178
  },
  "hsl": {
    "h": 221.958,
    "s": 67.136,
    "l": 41.765
  },
  "oklch": {
    "l": 0.45658,
    "c": 0.16652,
    "h": 263.6
  },
  "luminance": 0.0902
}

Semantic roles & 50–950 ramp

primary
#234EB2
secondary
#C9AC68
accent
#B63EEA
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #234EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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