#234FAF#234FAF

#234FAF is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.6% C 0.161 H 263.0°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#234FAF
RGBrgb(35, 79, 175)
HSLhsl(221, 67%, 41%)
HSVhsv(221, 80%, 69%)
CMYKcmyk(80%, 54.9%, 0%, 31.4%)
CIE-LABlab(36.07, 20.88, -55.47)
CIE-LCHlch(36.07, 59.27, 290.63°)
OKLaboklab(45.62% -0.0196 -0.16)
OKLCHoklch(45.62% 0.161 263)
XYZxyz(11.2242, 9.0431, 41.7031)
Luminance0.0904 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234FAF #AF8323
analogous
#2395AF #234FAF #3D23AF
triadic
#234FAF #AF234F #4FAF23
tetradic
#234FAF #AF2395 #AF8323 #23AF3D
square
#234FAF #AF2395 #AF8323 #23AF3D
split-complementary
#234FAF #AF3D23 #95AF23
monochromatic
#0F2149 #19387C #234FAF #386AD7 #6B90E1

Accessibility & contrast

On white

7.48
#234FAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#234FAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #234FAF
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##234FAF#FFFFFF#000000##FFFFFF
##234FAF1.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB2
Deuteranopia (green-blind)
#004FAD
Tritanopia (blue-blind)
#006777
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #234faf;
/* rgb */ color: rgb(35, 79, 175);
/* oklch */ color: oklch(45.6% 0.161 263.0);
Tailwind
colors: {
  custom: {
    50: '#757fc8',
    500: '#234faf',
    950: '#000000',
  },
}
SCSS
$custom: #234faf;
$custom-light: #757fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#234faf",
  "rgb": {
    "r": 35,
    "g": 79,
    "b": 175
  },
  "hsl": {
    "h": 221.143,
    "s": 66.667,
    "l": 41.176
  },
  "oklch": {
    "l": 0.4562,
    "c": 0.16121,
    "h": 263
  },
  "luminance": 0.09044
}

Semantic roles & 50–950 ramp

primary
#234FAF
secondary
#C7A966
accent
#B43EEA
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #234FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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