#234CA1#234CA1

#234CA1 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 43.9% C 0.146 H 262.6°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#234CA1
RGBrgb(35, 76, 161)
HSLhsl(220, 64%, 38%)
HSVhsv(220, 78%, 63%)
CMYKcmyk(78.3%, 52.8%, 0%, 36.9%)
CIE-LABlab(34.19, 17.40, -50.16)
CIE-LCHlch(34.19, 53.10, 289.13°)
OKLaboklab(43.86% -0.0187 -0.1445)
OKLCHoklch(43.86% 0.146 262.6)
XYZxyz(9.7083, 8.0983, 34.7628)
Luminance0.0810 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234CA1 #A17823
analogous
#238BA1 #234CA1 #3923A1
triadic
#234CA1 #A1234C #4CA123
tetradic
#234CA1 #A1238B #A17823 #23A139
square
#234CA1 #A1238B #A17823 #23A139
split-complementary
#234CA1 #A13923 #8BA123
monochromatic
#0D1D3C #18346F #234CA1 #2F64D2 #628ADD

Accessibility & contrast

On white

8.02
#234CA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#234CA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #234CA1
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##234CA1#FFFFFF#000000##FFFFFF
##234CA11.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1156A4
Deuteranopia (green-blind)
#004B9F
Tritanopia (blue-blind)
#00616F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #234ca1;
/* rgb */ color: rgb(35, 76, 161);
/* oklch */ color: oklch(43.9% 0.146 262.6);
Tailwind
colors: {
  custom: {
    50: '#727dbd',
    500: '#234ca1',
    950: '#000000',
  },
}
SCSS
$custom: #234ca1;
$custom-light: #727dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#234ca1",
  "rgb": {
    "r": 35,
    "g": 76,
    "b": 161
  },
  "hsl": {
    "h": 220.476,
    "s": 64.286,
    "l": 38.431
  },
  "oklch": {
    "l": 0.43865,
    "c": 0.14567,
    "h": 262.6
  },
  "luminance": 0.08099
}

Semantic roles & 50–950 ramp

primary
#234CA1
secondary
#C2A15E
accent
#B141E7
background
#F7F7FB
surface
#EDEEF7
border
#C8C9D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #234CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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