#234CAF#234CAF

#234CAF is a dark, vivid blue. Relative luminance 0.086; OKLCH L 45.0% C 0.165 H 263.9°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#234CAF
RGBrgb(35, 76, 175)
HSLhsl(222, 67%, 41%)
HSVhsv(222, 80%, 69%)
CMYKcmyk(80%, 56.6%, 0%, 31.4%)
CIE-LABlab(35.24, 22.88, -56.81)
CIE-LCHlch(35.24, 61.25, 291.94°)
OKLaboklab(45% -0.0175 -0.164)
OKLCHoklch(45% 0.165 263.9)
XYZxyz(11.0127, 8.6201, 41.6326)
Luminance0.0862 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234CAF #AF8623
analogous
#2392AF #234CAF #4023AF
triadic
#234CAF #AF234C #4CAF23
tetradic
#234CAF #AF2392 #AF8623 #23AF40
square
#234CAF #AF2392 #AF8623 #23AF40
split-complementary
#234CAF #AF4023 #92AF23
monochromatic
#0F2049 #19367C #234CAF #3867D7 #6B8EE1

Accessibility & contrast

On white

7.71
#234CAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#234CAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #234CAF
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##234CAF#FFFFFF#000000##FFFFFF
##234CAF1.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB2
Deuteranopia (green-blind)
#004DAD
Tritanopia (blue-blind)
#006576
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #234caf;
/* rgb */ color: rgb(35, 76, 175);
/* oklch */ color: oklch(45.0% 0.165 263.9);
Tailwind
colors: {
  custom: {
    50: '#757dc8',
    500: '#234caf',
    950: '#000000',
  },
}
SCSS
$custom: #234caf;
$custom-light: #757dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#234caf",
  "rgb": {
    "r": 35,
    "g": 76,
    "b": 175
  },
  "hsl": {
    "h": 222.429,
    "s": 66.667,
    "l": 41.176
  },
  "oklch": {
    "l": 0.44997,
    "c": 0.16495,
    "h": 263.9
  },
  "luminance": 0.08621
}

Semantic roles & 50–950 ramp

primary
#234CAF
secondary
#C7AB66
accent
#B73EEA
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #234CAF

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

Preview Lab → · Contrast checker → · Palette generator →

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