#234CBA#234CBA

#234CBA is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.9% C 0.180 H 264.6°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#234CBA
RGBrgb(35, 76, 186)
HSLhsl(224, 68%, 43%)
HSVhsv(224, 81%, 73%)
CMYKcmyk(81.2%, 59.1%, 0%, 27.1%)
CIE-LABlab(36.12, 27.14, -61.88)
CIE-LCHlch(36.12, 67.57, 293.68°)
OKLaboklab(45.93% -0.0169 -0.1789)
OKLCHoklch(45.93% 0.18 264.6)
XYZxyz(12.1374, 9.0699, 47.5558)
Luminance0.0907 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234CBA #BA9123
analogous
#2397BA #234CBA #4623BA
triadic
#234CBA #BA234C #4CBA23
tetradic
#234CBA #BA2397 #BA9123 #23BA46
square
#234CBA #BA2397 #BA9123 #23BA46
split-complementary
#234CBA #BA4623 #97BA23
monochromatic
#102253 #193786 #234CBA #3F6ADB #7392E5

Accessibility & contrast

On white

7.46
#234CBA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#234CBA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #234CBA
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##234CBA#FFFFFF#000000##FFFFFF
##234CBA1.007.462.817.46
#FFFFFF7.461.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBE
Deuteranopia (green-blind)
#004EB8
Tritanopia (blue-blind)
#00687B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #234cba;
/* rgb */ color: rgb(35, 76, 186);
/* oklch */ color: oklch(45.9% 0.180 264.6);
Tailwind
colors: {
  custom: {
    50: '#787dd0',
    500: '#234cba',
    950: '#000000',
  },
}
SCSS
$custom: #234cba;
$custom-light: #787dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#234cba",
  "rgb": {
    "r": 35,
    "g": 76,
    "b": 186
  },
  "hsl": {
    "h": 223.709,
    "s": 68.326,
    "l": 43.333
  },
  "oklch": {
    "l": 0.4593,
    "c": 0.17971,
    "h": 264.6
  },
  "luminance": 0.09071
}

Semantic roles & 50–950 ramp

primary
#234CBA
secondary
#CCB26D
accent
#BC3DEB
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #234CBA

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

Preview Lab → · Contrast checker → · Palette generator →

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