#234FA8#234FA8

#234FA8 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.1% C 0.152 H 262.3°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#234FA8
RGBrgb(35, 79, 168)
HSLhsl(220, 66%, 40%)
HSVhsv(220, 79%, 66%)
CMYKcmyk(79.2%, 53%, 0%, 34.1%)
CIE-LABlab(35.55, 18.14, -52.15)
CIE-LCHlch(35.55, 55.22, 289.18°)
OKLaboklab(45.06% -0.0202 -0.1502)
OKLCHoklch(45.06% 0.152 262.3)
XYZxyz(10.5545, 8.7752, 38.1757)
Luminance0.0878 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234FA8 #A87C23
analogous
#2392A8 #234FA8 #3923A8
triadic
#234FA8 #A8234F #4FA823
tetradic
#234FA8 #A82392 #A87C23 #23A839
square
#234FA8 #A82392 #A87C23 #23A839
split-complementary
#234FA8 #A83923 #92A823
monochromatic
#0E1F43 #183775 #234FA8 #3469D5 #668EDF

Accessibility & contrast

On white

7.62
#234FA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#234FA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #234FA8
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##234FA8#FFFFFF#000000##FFFFFF
##234FA81.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F5AAB
Deuteranopia (green-blind)
#004EA6
Tritanopia (blue-blind)
#006574
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #234fa8;
/* rgb */ color: rgb(35, 79, 168);
/* oklch */ color: oklch(45.1% 0.152 262.3);
Tailwind
colors: {
  custom: {
    50: '#737fc2',
    500: '#234fa8',
    950: '#000000',
  },
}
SCSS
$custom: #234fa8;
$custom-light: #737fc2;
$custom-dark: #000000;
JSON
{
  "hex": "#234fa8",
  "rgb": {
    "r": 35,
    "g": 79,
    "b": 168
  },
  "hsl": {
    "h": 220.15,
    "s": 65.517,
    "l": 39.804
  },
  "oklch": {
    "l": 0.45062,
    "c": 0.15161,
    "h": 262.3
  },
  "luminance": 0.08776
}

Semantic roles & 50–950 ramp

primary
#234FA8
secondary
#C5A462
accent
#B13FE8
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #234FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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