#234FB2#234FB2

#234FB2 is a mid, vivid blue. Relative luminance 0.092; OKLCH L 45.9% C 0.165 H 263.3°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#234FB2
RGBrgb(35, 79, 178)
HSLhsl(222, 67%, 42%)
HSVhsv(222, 80%, 70%)
CMYKcmyk(80.3%, 55.6%, 0%, 30.2%)
CIE-LABlab(36.29, 22.05, -56.88)
CIE-LCHlch(36.29, 61.00, 291.19°)
OKLaboklab(45.86% -0.0193 -0.1642)
OKLCHoklch(45.86% 0.165 263.3)
XYZxyz(11.5221, 9.1623, 43.2721)
Luminance0.0916 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234FB2 #B28623
analogous
#2397B2 #234FB2 #3E23B2
triadic
#234FB2 #B2234F #4FB223
tetradic
#234FB2 #B22397 #B28623 #23B23E
square
#234FB2 #B22397 #B28623 #23B23E
split-complementary
#234FB2 #B23E23 #97B223
monochromatic
#0F224C #19387F #234FB2 #3A6BD8 #6D91E2

Accessibility & contrast

On white

7.41
#234FB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#234FB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #234FB2
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##234FB2#FFFFFF#000000##FFFFFF
##234FB21.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB5
Deuteranopia (green-blind)
#004FB0
Tritanopia (blue-blind)
#006878
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #234fb2;
/* rgb */ color: rgb(35, 79, 178);
/* oklch */ color: oklch(45.9% 0.165 263.3);
Tailwind
colors: {
  custom: {
    50: '#767fca',
    500: '#234fb2',
    950: '#000000',
  },
}
SCSS
$custom: #234fb2;
$custom-light: #767fca;
$custom-dark: #000000;
JSON
{
  "hex": "#234fb2",
  "rgb": {
    "r": 35,
    "g": 79,
    "b": 178
  },
  "hsl": {
    "h": 221.538,
    "s": 67.136,
    "l": 41.765
  },
  "oklch": {
    "l": 0.45864,
    "c": 0.16529,
    "h": 263.3
  },
  "luminance": 0.09164
}

Semantic roles & 50–950 ramp

primary
#234FB2
secondary
#C9AB68
accent
#B53EEA
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #234FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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