#234AB2#234AB2

#234AB2 is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.8% C 0.171 H 264.7°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#234AB2
RGBrgb(35, 74, 178)
HSLhsl(224, 67%, 42%)
HSVhsv(224, 80%, 70%)
CMYKcmyk(80.3%, 58.4%, 0%, 30.2%)
CIE-LABlab(34.94, 25.38, -59.09)
CIE-LCHlch(34.94, 64.31, 293.25°)
OKLaboklab(44.84% -0.016 -0.1707)
OKLCHoklch(44.84% 0.171 264.7)
XYZxyz(11.1749, 8.4679, 43.1564)
Luminance0.0847 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234AB2 #B28B23
analogous
#2392B2 #234AB2 #4323B2
triadic
#234AB2 #B2234A #4AB223
tetradic
#234AB2 #B22392 #B28B23 #23B243
square
#234AB2 #B22392 #B28B23 #23B243
split-complementary
#234AB2 #B24323 #92B223
monochromatic
#0F1F4C #19357F #234AB2 #3A65D8 #6D8DE2

Accessibility & contrast

On white

7.80
#234AB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#234AB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #234AB2
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##234AB2#FFFFFF#000000##FFFFFF
##234AB21.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B6
Deuteranopia (green-blind)
#004CB0
Tritanopia (blue-blind)
#006476
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #234ab2;
/* rgb */ color: rgb(35, 74, 178);
/* oklch */ color: oklch(44.8% 0.171 264.7);
Tailwind
colors: {
  custom: {
    50: '#767cca',
    500: '#234ab2',
    950: '#000000',
  },
}
SCSS
$custom: #234ab2;
$custom-light: #767cca;
$custom-dark: #000000;
JSON
{
  "hex": "#234ab2",
  "rgb": {
    "r": 35,
    "g": 74,
    "b": 178
  },
  "hsl": {
    "h": 223.636,
    "s": 67.136,
    "l": 41.765
  },
  "oklch": {
    "l": 0.44844,
    "c": 0.17148,
    "h": 264.7
  },
  "luminance": 0.08469
}

Semantic roles & 50–950 ramp

primary
#234AB2
secondary
#C9AE68
accent
#BB3EEA
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #234AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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