#232F5C#232F5C

#232F5C is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.0% C 0.081 H 270.1°. Best body text is #FFFFFF at 12.86:1 contrast (WCAG AA passes).

Color values

HEX#232F5C
RGBrgb(35, 47, 92)
HSLhsl(227, 45%, 25%)
HSVhsv(227, 62%, 36%)
CMYKcmyk(62%, 48.9%, 0%, 63.9%)
CIE-LABlab(20.68, 10.43, -28.59)
CIE-LCHlch(20.68, 30.43, 290.04°)
OKLaboklab(32.01% 0.0001 -0.0815)
OKLCHoklch(32.01% 0.081 270.1)
XYZxyz(3.6408, 3.1628, 10.5418)
Luminance0.0316 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232F5C #5C5023
analogous
#234C5C #232F5C #33235C
triadic
#232F5C #5C232F #2F5C23
tetradic
#232F5C #5C234C #5C5023 #235C33
square
#232F5C #5C234C #5C5023 #235C33
split-complementary
#232F5C #5C3323 #4C5C23
monochromatic
#080B16 #121830 #232F5C #344688 #455CB5

Accessibility & contrast

On white

12.86
#232F5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#232F5C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232F5C
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232F5C#FFFFFF#000000##FFFFFF
##232F5C1.0012.861.6312.86
#FFFFFF12.861.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A345E
Deuteranopia (green-blind)
#122F5B
Tritanopia (blue-blind)
#003941
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #232f5c;
/* rgb */ color: rgb(35, 47, 92);
/* oklch */ color: oklch(32.0% 0.081 270.1);
Tailwind
colors: {
  custom: {
    50: '#63678a',
    500: '#232f5c',
    950: '#000000',
  },
}
SCSS
$custom: #232f5c;
$custom-light: #63678a;
$custom-dark: #000000;
JSON
{
  "hex": "#232f5c",
  "rgb": {
    "r": 35,
    "g": 47,
    "b": 92
  },
  "hsl": {
    "h": 227.368,
    "s": 44.882,
    "l": 24.902
  },
  "oklch": {
    "l": 0.32005,
    "c": 0.08148,
    "h": 270.1
  },
  "luminance": 0.03163
}

Semantic roles & 50–950 ramp

primary
#232F5C
secondary
#90814B
accent
#B953D5
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06060C
muted
#7A7A7D

Preview Lab

Preview with #232F5C

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

Preview Lab → · Contrast checker → · Palette generator →

#232F5C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva