#234FA5#234FA5

#234FA5 is a dark, vivid blue. Relative luminance 0.087; OKLCH L 44.8% C 0.147 H 262.0°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#234FA5
RGBrgb(35, 79, 165)
HSLhsl(220, 65%, 39%)
HSVhsv(220, 79%, 65%)
CMYKcmyk(78.8%, 52.1%, 0%, 35.3%)
CIE-LABlab(35.33, 16.96, -50.71)
CIE-LCHlch(35.33, 53.47, 288.49°)
OKLaboklab(44.83% -0.0206 -0.146)
OKLCHoklch(44.83% 0.147 262)
XYZxyz(10.2782, 8.6647, 36.7208)
Luminance0.0867 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234FA5 #A57923
analogous
#2390A5 #234FA5 #3823A5
triadic
#234FA5 #A5234F #4FA523
tetradic
#234FA5 #A52390 #A57923 #23A538
square
#234FA5 #A52390 #A57923 #23A538
split-complementary
#234FA5 #A53823 #90A523
monochromatic
#0E1F40 #183773 #234FA5 #3268D3 #648EDE

Accessibility & contrast

On white

7.68
#234FA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#234FA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #234FA5
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##234FA5#FFFFFF#000000##FFFFFF
##234FA51.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1659A8
Deuteranopia (green-blind)
#004DA3
Tritanopia (blue-blind)
#006472
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #234fa5;
/* rgb */ color: rgb(35, 79, 165);
/* oklch */ color: oklch(44.8% 0.147 262.0);
Tailwind
colors: {
  custom: {
    50: '#727fc0',
    500: '#234fa5',
    950: '#000000',
  },
}
SCSS
$custom: #234fa5;
$custom-light: #727fc0;
$custom-dark: #000000;
JSON
{
  "hex": "#234fa5",
  "rgb": {
    "r": 35,
    "g": 79,
    "b": 165
  },
  "hsl": {
    "h": 219.692,
    "s": 65,
    "l": 39.216
  },
  "oklch": {
    "l": 0.44828,
    "c": 0.14746,
    "h": 262
  },
  "luminance": 0.08666
}

Semantic roles & 50–950 ramp

primary
#234FA5
secondary
#C4A260
accent
#AF40E8
background
#F7F7FB
surface
#EDEEF7
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #234FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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