#234AA1#234AA1

#234AA1 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.4% C 0.148 H 263.3°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#234AA1
RGBrgb(35, 74, 161)
HSLhsl(221, 64%, 38%)
HSVhsv(221, 78%, 63%)
CMYKcmyk(78.3%, 54%, 0%, 36.9%)
CIE-LABlab(33.62, 18.75, -51.08)
CIE-LCHlch(33.62, 54.42, 290.16°)
OKLaboklab(43.43% -0.0172 -0.1472)
OKLCHoklch(43.43% 0.148 263.3)
XYZxyz(9.5726, 7.8270, 34.7176)
Luminance0.0783 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234AA1 #A17A23
analogous
#2389A1 #234AA1 #3B23A1
triadic
#234AA1 #A1234A #4AA123
tetradic
#234AA1 #A12389 #A17A23 #23A13B
square
#234AA1 #A12389 #A17A23 #23A13B
split-complementary
#234AA1 #A13B23 #89A123
monochromatic
#0D1C3C #18336F #234AA1 #2F62D2 #6288DD

Accessibility & contrast

On white

8.19
#234AA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#234AA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #234AA1
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##234AA1#FFFFFF#000000##FFFFFF
##234AA11.008.192.578.19
#FFFFFF8.191.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0555A4
Deuteranopia (green-blind)
#004A9F
Tritanopia (blue-blind)
#005F6E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #234aa1;
/* rgb */ color: rgb(35, 74, 161);
/* oklch */ color: oklch(43.4% 0.148 263.3);
Tailwind
colors: {
  custom: {
    50: '#727bbd',
    500: '#234aa1',
    950: '#000000',
  },
}
SCSS
$custom: #234aa1;
$custom-light: #727bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#234aa1",
  "rgb": {
    "r": 35,
    "g": 74,
    "b": 161
  },
  "hsl": {
    "h": 221.429,
    "s": 64.286,
    "l": 38.431
  },
  "oklch": {
    "l": 0.43434,
    "c": 0.1482,
    "h": 263.3
  },
  "luminance": 0.07828
}

Semantic roles & 50–950 ramp

primary
#234AA1
secondary
#C2A35E
accent
#B441E7
background
#F7F7FB
surface
#EDEDF7
border
#C8C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #234AA1

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

Preview Lab → · Contrast checker → · Palette generator →

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