#234FAB#234FAB

#234FAB is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.3% C 0.156 H 262.6°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#234FAB
RGBrgb(35, 79, 171)
HSLhsl(221, 66%, 40%)
HSVhsv(221, 80%, 67%)
CMYKcmyk(79.5%, 53.8%, 0%, 32.9%)
CIE-LABlab(35.77, 19.31, -53.58)
CIE-LCHlch(35.77, 56.96, 289.82°)
OKLaboklab(45.3% -0.0199 -0.1545)
OKLCHoklch(45.3% 0.156 262.6)
XYZxyz(10.8372, 8.8883, 39.6646)
Luminance0.0889 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234FAB #AB7F23
analogous
#2393AB #234FAB #3B23AB
triadic
#234FAB #AB234F #4FAB23
tetradic
#234FAB #AB2393 #AB7F23 #23AB3B
square
#234FAB #AB2393 #AB7F23 #23AB3B
split-complementary
#234FAB #AB3B23 #93AB23
monochromatic
#0E2045 #193878 #234FAB #3569D6 #688FE0

Accessibility & contrast

On white

7.56
#234FAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#234FAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #234FAB
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##234FAB#FFFFFF#000000##FFFFFF
##234FAB1.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#055BAE
Deuteranopia (green-blind)
#004EA9
Tritanopia (blue-blind)
#006675
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #234fab;
/* rgb */ color: rgb(35, 79, 171);
/* oklch */ color: oklch(45.3% 0.156 262.6);
Tailwind
colors: {
  custom: {
    50: '#747fc5',
    500: '#234fab',
    950: '#000000',
  },
}
SCSS
$custom: #234fab;
$custom-light: #747fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#234fab",
  "rgb": {
    "r": 35,
    "g": 79,
    "b": 171
  },
  "hsl": {
    "h": 220.588,
    "s": 66.019,
    "l": 40.392
  },
  "oklch": {
    "l": 0.453,
    "c": 0.15574,
    "h": 262.6
  },
  "luminance": 0.0889
}

Semantic roles & 50–950 ramp

primary
#234FAB
secondary
#C6A664
accent
#B23FE9
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #234FAB

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

Preview Lab → · Contrast checker → · Palette generator →

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