#234CB5#234CB5

#234CB5 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.5% C 0.173 H 264.3°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#234CB5
RGBrgb(35, 76, 181)
HSLhsl(223, 68%, 42%)
HSVhsv(223, 81%, 71%)
CMYKcmyk(80.7%, 58%, 0%, 29%)
CIE-LABlab(35.72, 25.21, -59.60)
CIE-LCHlch(35.72, 64.71, 292.93°)
OKLaboklab(45.5% -0.0171 -0.1722)
OKLCHoklch(45.5% 0.173 264.3)
XYZxyz(11.6151, 8.8610, 44.8053)
Luminance0.0886 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234CB5 #B58C23
analogous
#2395B5 #234CB5 #4323B5
triadic
#234CB5 #B5234C #4CB523
tetradic
#234CB5 #B52395 #B58C23 #23B543
square
#234CB5 #B52395 #B58C23 #23B543
split-complementary
#234CB5 #B54323 #95B523
monochromatic
#0F214E #193682 #234CB5 #3C68D9 #6F90E3

Accessibility & contrast

On white

7.57
#234CB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#234CB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #234CB5
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##234CB5#FFFFFF#000000##FFFFFF
##234CB51.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB9
Deuteranopia (green-blind)
#004EB3
Tritanopia (blue-blind)
#006679
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #234cb5;
/* rgb */ color: rgb(35, 76, 181);
/* oklch */ color: oklch(45.5% 0.173 264.3);
Tailwind
colors: {
  custom: {
    50: '#777dcc',
    500: '#234cb5',
    950: '#000000',
  },
}
SCSS
$custom: #234cb5;
$custom-light: #777dcc;
$custom-dark: #000000;
JSON
{
  "hex": "#234cb5",
  "rgb": {
    "r": 35,
    "g": 76,
    "b": 181
  },
  "hsl": {
    "h": 223.151,
    "s": 67.593,
    "l": 42.353
  },
  "oklch": {
    "l": 0.45501,
    "c": 0.17304,
    "h": 264.3
  },
  "luminance": 0.08862
}

Semantic roles & 50–950 ramp

primary
#234CB5
secondary
#CAAF6A
accent
#BA3DEA
background
#F7F7FC
surface
#EEEEF9
border
#C9C9D2
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #234CB5

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

Preview Lab → · Contrast checker → · Palette generator →

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