#234AB5#234AB5

#234AB5 is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.1% C 0.175 H 264.8°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#234AB5
RGBrgb(35, 74, 181)
HSLhsl(224, 68%, 42%)
HSVhsv(224, 81%, 71%)
CMYKcmyk(80.7%, 59.1%, 0%, 29%)
CIE-LABlab(35.18, 26.54, -60.47)
CIE-LCHlch(35.18, 66.03, 293.70°)
OKLaboklab(45.1% -0.0158 -0.1748)
OKLCHoklch(45.1% 0.175 264.8)
XYZxyz(11.4794, 8.5897, 44.7601)
Luminance0.0859 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234AB5 #B58E23
analogous
#2393B5 #234AB5 #4523B5
triadic
#234AB5 #B5234A #4AB523
tetradic
#234AB5 #B52393 #B58E23 #23B545
square
#234AB5 #B52393 #B58E23 #23B545
split-complementary
#234AB5 #B54523 #93B523
monochromatic
#0F204E #193582 #234AB5 #3C66D9 #6F8EE3

Accessibility & contrast

On white

7.73
#234AB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#234AB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #234AB5
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##234AB5#FFFFFF#000000##FFFFFF
##234AB51.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB9
Deuteranopia (green-blind)
#004CB3
Tritanopia (blue-blind)
#006578
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #234ab5;
/* rgb */ color: rgb(35, 74, 181);
/* oklch */ color: oklch(45.1% 0.175 264.8);
Tailwind
colors: {
  custom: {
    50: '#777ccc',
    500: '#234ab5',
    950: '#000000',
  },
}
SCSS
$custom: #234ab5;
$custom-light: #777ccc;
$custom-dark: #000000;
JSON
{
  "hex": "#234ab5",
  "rgb": {
    "r": 35,
    "g": 74,
    "b": 181
  },
  "hsl": {
    "h": 223.973,
    "s": 67.593,
    "l": 42.353
  },
  "oklch": {
    "l": 0.45102,
    "c": 0.17549,
    "h": 264.8
  },
  "luminance": 0.08591
}

Semantic roles & 50–950 ramp

primary
#234AB5
secondary
#CAB06A
accent
#BC3DEA
background
#F7F7FC
surface
#EEEEF9
border
#C9C9D2
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #234AB5

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

Preview Lab → · Contrast checker → · Palette generator →

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