#233CAF#233CAF

#233CAF is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.9% C 0.184 H 267.6°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#233CAF
RGBrgb(35, 60, 175)
HSLhsl(229, 67%, 41%)
HSVhsv(229, 80%, 69%)
CMYKcmyk(80%, 65.7%, 0%, 31.4%)
CIE-LABlab(31.07, 33.48, -63.62)
CIE-LCHlch(31.07, 71.90, 297.76°)
OKLaboklab(41.9% -0.0077 -0.1842)
OKLCHoklch(41.9% 0.184 267.6)
XYZxyz(10.0442, 6.6830, 41.3097)
Luminance0.0668 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233CAF #AF9623
analogous
#2382AF #233CAF #5023AF
triadic
#233CAF #AF233C #3CAF23
tetradic
#233CAF #AF2382 #AF9623 #23AF50
square
#233CAF #AF2382 #AF9623 #23AF50
split-complementary
#233CAF #AF5023 #82AF23
monochromatic
#0F1949 #192B7C #233CAF #3854D7 #6B80E1

Accessibility & contrast

On white

8.99
#233CAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#233CAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233CAF
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233CAF#FFFFFF#000000##FFFFFF
##233CAF1.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B3
Deuteranopia (green-blind)
#0043AD
Tritanopia (blue-blind)
#005B70
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #233caf;
/* rgb */ color: rgb(35, 60, 175);
/* oklch */ color: oklch(41.9% 0.184 267.6);
Tailwind
colors: {
  custom: {
    50: '#7671c8',
    500: '#233caf',
    950: '#000000',
  },
}
SCSS
$custom: #233caf;
$custom-light: #7671c8;
$custom-dark: #000000;
JSON
{
  "hex": "#233caf",
  "rgb": {
    "r": 35,
    "g": 60,
    "b": 175
  },
  "hsl": {
    "h": 229.286,
    "s": 66.667,
    "l": 41.176
  },
  "oklch": {
    "l": 0.41895,
    "c": 0.18435,
    "h": 267.6
  },
  "luminance": 0.06684
}

Semantic roles & 50–950 ramp

primary
#233CAF
secondary
#C7B666
accent
#CB3EEA
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #233CAF

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

Preview Lab → · Contrast checker → · Palette generator →

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